mirror of
				https://github.com/elyby/accounts.git
				synced 2025-05-31 14:11:46 +05:30 
			
		
		
		
	Добавлен oauth2 пермишен на запрос E-mail адреса пользователя
This commit is contained in:
		@@ -1,7 +1,6 @@
 | 
			
		||||
<?php
 | 
			
		||||
namespace common\models;
 | 
			
		||||
 | 
			
		||||
use Yii;
 | 
			
		||||
use yii\db\ActiveRecord;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
@@ -12,6 +11,7 @@ class OauthScope extends ActiveRecord {
 | 
			
		||||
 | 
			
		||||
    const OFFLINE_ACCESS = 'offline_access';
 | 
			
		||||
    const MINECRAFT_SERVER_SESSION = 'minecraft_server_session';
 | 
			
		||||
    const ACCOUNT_EMAIL = 'account_email';
 | 
			
		||||
 | 
			
		||||
    public static function tableName() {
 | 
			
		||||
        return '{{%oauth_scopes}}';
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user