Skip to content

Commit

Permalink
Merge pull request #45020 from Noodlesalat/fix-lastlogin-update-token…
Browse files Browse the repository at this point in the history
…-login
  • Loading branch information
skjnldsv authored Sep 17, 2024
2 parents 185edbd + 1d6cce8 commit eb374a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/User/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ public function completeLogin(IUser $user, array $loginDetails, $regenerateSessi
if ($isToken) {
$this->setToken($loginDetails['token']->getId());
$this->lockdownManager->setToken($loginDetails['token']);
$user->updateLastLoginTimestamp();
$firstTimeLogin = false;
} else {
$this->setToken(null);
Expand Down

0 comments on commit eb374a7

Please sign in to comment.