diff --git a/plugin/oauth2/src/OAuth2.php b/plugin/oauth2/src/OAuth2.php index aebbaa09bb..09f7c40949 100644 --- a/plugin/oauth2/src/OAuth2.php +++ b/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);