Merge pull request #40798 from nextcloud/backport/40795/stable26

[stable26] fix(user): Log affected user of app token login name mismatch
This commit is contained in:
Arthur Schiwon 2023-10-06 13:33:33 +02:00 committed by GitHub
commit a84d1c70c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -792,6 +792,8 @@ class Session implements IUserSession, Emitter {
$this->logger->error('App token login name does not match', [
'tokenLoginName' => $dbToken->getLoginName(),
'sessionLoginName' => $user,
'app' => 'core',
'user' => $dbToken->getUID(),
]);
return false;