mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
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:
commit
a84d1c70c5
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue