Merge pull request #35007 from nextcloud/fix/lower-logging-level-user-session-cookie-login

Fix unsuccessful token login logged as error
pull/34985/head
Christoph Wurst 2022-11-07 16:35:52 +07:00 committed by GitHub
commit c8c27ea352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

@ -868,7 +868,7 @@ class Session implements IUserSession, Emitter {
$tokens = $this->config->getUserKeys($uid, 'login_token');
// test cookies token against stored tokens
if (!in_array($currentToken, $tokens, true)) {
$this->logger->error('Tried to log in {uid} but could not verify token', [
$this->logger->info('Tried to log in {uid} but could not verify token', [
'app' => 'core',
'uid' => $uid,
]);