Add log

parent 445c9700
......@@ -10,7 +10,7 @@ class GoogleOAuth2Service extends \nodge\eauth\services\GoogleOAuth2Service
protected function fetchAttributes()
{
$info = $this->makeSignedRequest('https://www.googleapis.com/oauth2/v1/userinfo');
\Yii::info($info, 'social');
$profile = [
'id' => $info['id'],
'email' => $info['email'],
......
......@@ -123,7 +123,6 @@ class UserEAuth extends \common\components\ActiveRecordModel
$eauth->user_id = $model->id;
$eauth->{$eauthField} = $socialProfile['id'];
$eauth->save();
return $model;
}
else {
......
......@@ -40,7 +40,8 @@ WidgetAssetBundle::register($this);
}
},
theme: {
services: 'vkontakte,facebook,gplus,twitter,tumblr'
services: 'vkontakte,facebook,gplus,twitter,tumblr',
counter: true,
},
content: {
title: 'Школа аналитики',
......
......@@ -45,7 +45,8 @@ WidgetAssetBundle::register($this);
}
},
theme: {
services: 'vkontakte,facebook,gplus,twitter,tumblr'
services: 'vkontakte,facebook,gplus,twitter,tumblr',
counter: true,
},
content: {
title: 'Школа аналитики',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment