Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cee96c
)
MDL-58220 oauth2: missing param confirmtokenexpires
author
Damyon Wiese
<damyon@moodle.com>
Wed, 5 Apr 2017 06:11:12 +0000
(14:11 +0800)
committer
Damyon Wiese
<damyon@moodle.com>
Wed, 5 Apr 2017 06:42:22 +0000
(14:42 +0800)
auth/oauth2/classes/api.php
patch
|
blob
|
blame
|
history
diff --git
a/auth/oauth2/classes/api.php
b/auth/oauth2/classes/api.php
index
952d3d3
..
430abee
100644
(file)
--- a/
auth/oauth2/classes/api.php
+++ b/
auth/oauth2/classes/api.php
@@
-126,6
+126,7
@@
class api {
}
$record->email = $userinfo['email'];
$record->confirmtoken = '';
+ $record->confirmtokenexpires = 0;
$linkedlogin = new linked_login(0, $record);
return $linkedlogin->create();
}