mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-58220 oauth2: missing param confirmtokenexpires
This commit is contained in:
parent
6cee96c8af
commit
a647e7d762
@ -126,6 +126,7 @@ class api {
|
||||
}
|
||||
$record->email = $userinfo['email'];
|
||||
$record->confirmtoken = '';
|
||||
$record->confirmtokenexpires = 0;
|
||||
$linkedlogin = new linked_login(0, $record);
|
||||
return $linkedlogin->create();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user