MDL-58220 oauth2: missing param confirmtokenexpires

This commit is contained in:
Damyon Wiese 2017-04-05 14:11:12 +08:00
parent 6cee96c8af
commit a647e7d762

View File

@ -126,6 +126,7 @@ class api {
}
$record->email = $userinfo['email'];
$record->confirmtoken = '';
$record->confirmtokenexpires = 0;
$linkedlogin = new linked_login(0, $record);
return $linkedlogin->create();
}