From: Christoph Wurst Date: Fri, 6 Oct 2023 06:51:50 +0000 (+0200) Subject: fix(user): Log affected user of app token login name mismatch X-Git-Tag: v26.0.8rc1~20^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F40798%2Fhead;p=nextcloud-server.git fix(user): Log affected user of app token login name mismatch Signed-off-by: Christoph Wurst --- diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index 9190a7a72a6..8fc3d3e326e 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -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;