Skip to content
Snippets Groups Projects
Commit 7aa2870b authored by Igor Teper's avatar Igor Teper
Browse files

+

parent 906ad27e
Branches master
Tags 1.0.5
No related merge requests found
<?php
/**
* @copyright Copyright &copy; ExooDev, exoodev.com, 2016
* @package
* @version 1.0.0
*/
namespace exoo\system\components\authclients;
namespace exoo\user\components\authclients;
use Yii;
use yii\helpers\ArrayHelper;
......
<?php
/**
* @copyright Copyright &copy; ExooDev, exoodev.com, 2016
* @package
* @version 1.0.0
*/
namespace exoo\system\components\authclients;
namespace exoo\user\components\authclients;
use Yii;
use yii\helpers\ArrayHelper;
......
<?php
/**
* @copyright Copyright &copy; ExooDev, exoodev.com, 2016
* @package
* @version 1.0.0
*/
namespace exoo\system\components\authclients;
namespace exoo\user\components\authclients;
use Yii;
use yii\helpers\ArrayHelper;
......
<?php
namespace exoo\system\components\authclients;
namespace exoo\user\components\authclients;
/**
* Twitter allows authentication via Twitter OAuth.
......@@ -50,7 +50,7 @@ class Twitter extends \yii\authclient\clients\Twitter
public function getUserAttributes()
{
$attributes = parent::getUserAttributes();
return [
'id' => $attributes['id'],
'username' => $attributes['name'],
......
<?php
/**
* @copyright Copyright &copy; ExooDev, exoodev.com, 2016
* @package
* @version 1.0.0
*/
namespace exoo\system\components\authclients;
namespace exoo\user\components\authclients;
use Yii;
use yii\helpers\ArrayHelper;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment