Skip to content

Commit

Permalink
fixup! fix: Log critical session renewal and logout paths
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst committed Oct 5, 2023
1 parent 6ee3b0f commit 62d179b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/private/User/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -885,9 +885,8 @@ public function loginWithCookie($uid, $currentToken, $oldSessionId) {
$tokens = $this->config->getUserKeys($uid, 'login_token');
// test cookies token against stored tokens
if (!in_array($currentToken, $tokens, true)) {
$this->logger->info('Tried to log in {uid} but could not verify token', [
$this->logger->info('Tried to log in but could not verify token', [
'app' => 'core',
'uid' => $uid,
'user' => $uid,
]);
return false;
Expand Down

0 comments on commit 62d179b

Please sign in to comment.