Skip to content

Commit 18515f6

Browse files
authored
Merge pull request #35011 from nextcloud/backport/35007/stable25
[stable25] Fix unsuccessful token login logged as error
2 parents 6880f3b + 88cf98b commit 18515f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/private/User/Session.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ public function loginWithCookie($uid, $currentToken, $oldSessionId) {
868868
$tokens = $this->config->getUserKeys($uid, 'login_token');
869869
// test cookies token against stored tokens
870870
if (!in_array($currentToken, $tokens, true)) {
871-
$this->logger->error('Tried to log in {uid} but could not verify token', [
871+
$this->logger->info('Tried to log in {uid} but could not verify token', [
872872
'app' => 'core',
873873
'uid' => $uid,
874874
]);

0 commit comments

Comments
 (0)