From 02e27b8db66a7da10f1e1c327561e6ce3a3660be Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Fri, 6 Oct 2023 08:51:50 +0200 Subject: [PATCH] fix(user): Log affected user of app token login name mismatch Signed-off-by: Christoph Wurst --- lib/private/User/Session.php | 2 ++ 1 file changed, 2 insertions(+) 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; -- 2.39.5