Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
taskonsite-архив-перенесен
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages
Packages
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dmitry Korolev
taskonsite-архив-перенесен
Commits
dc186c8f
Commit
dc186c8f
authored
Feb 17, 2016
by
Виталий Мурашко
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add log
parent
445c9700
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
common/modules/eauth/components/GoogleOAuth2Service.php
common/modules/eauth/components/GoogleOAuth2Service.php
+1
-1
common/modules/eauth/models/UserEAuth.php
common/modules/eauth/models/UserEAuth.php
+0
-1
common/modules/school/views/course/index.php
common/modules/school/views/course/index.php
+2
-1
common/modules/school/views/lesson/view.php
common/modules/school/views/lesson/view.php
+2
-1
No files found.
common/modules/eauth/components/GoogleOAuth2Service.php
View file @
dc186c8f
...
...
@@ -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'
],
...
...
common/modules/eauth/models/UserEAuth.php
View file @
dc186c8f
...
...
@@ -123,7 +123,6 @@ class UserEAuth extends \common\components\ActiveRecordModel
$eauth
->
user_id
=
$model
->
id
;
$eauth
->
{
$eauthField
}
=
$socialProfile
[
'id'
];
$eauth
->
save
();
return
$model
;
}
else
{
...
...
common/modules/school/views/course/index.php
View file @
dc186c8f
...
...
@@ -40,7 +40,8 @@ WidgetAssetBundle::register($this);
}
},
theme: {
services: 'vkontakte,facebook,gplus,twitter,tumblr'
services: 'vkontakte,facebook,gplus,twitter,tumblr',
counter: true,
},
content: {
title: 'Школа аналитики',
...
...
common/modules/school/views/lesson/view.php
View file @
dc186c8f
...
...
@@ -45,7 +45,8 @@ WidgetAssetBundle::register($this);
}
},
theme: {
services: 'vkontakte,facebook,gplus,twitter,tumblr'
services: 'vkontakte,facebook,gplus,twitter,tumblr',
counter: true,
},
content: {
title: 'Школа аналитики',
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment