mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 04:01:40 +01:00
MDL-35636 login/token.php: confusing 'create user token' log appearing before 'token user request'
This commit is contained in:
parent
a3ab18c735
commit
2650c2b03e
@ -170,7 +170,7 @@ if (!empty($user)) {
|
||||
// log token access
|
||||
$DB->set_field('external_tokens', 'lastaccess', time(), array('id'=>$token->id));
|
||||
|
||||
add_to_log(SITEID, 'webservice', 'user request webservice token', '' , 'User ID: ' . $user->id);
|
||||
add_to_log(SITEID, 'webservice', 'sending requested user token', '' , 'User ID: ' . $user->id);
|
||||
|
||||
$usertoken = new stdClass;
|
||||
$usertoken->token = $token->token;
|
||||
|
Loading…
x
Reference in New Issue
Block a user