Plugin: OAuth2: Add event log when updating user

pull/4964/head
Angel Fernando Quiroz Campos 2 years ago
parent 1b19cdae7f
commit 19dc8e5ec9
  1. 2
      plugin/oauth2/src/OAuth2.php

@ -303,6 +303,8 @@ class OAuth2 extends Plugin
if ('true' === $this->get(self::SETTING_UPDATE_USER_INFO)) {
$this->updateUser($userId, $response);
$this->updateUserUrls($userId, $response);
Event::addEvent(LOG_USER_UPDATE, LOG_USER_ID, $userId);
}
}
$userInfo = api_get_user_info($userId);

Loading…
Cancel
Save