From ac4735a4f242481283c5e20fe827ad395b8e5a52 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Tue, 14 Aug 2018 09:45:52 +0200 Subject: [PATCH] Update the scope of the lockdownmanager We have the token anyway. So better the scope as well. Signed-off-by: Roeland Jago Douma --- lib/private/User/Session.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index ee1439b9e2..fbd6a0a78e 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -732,6 +732,9 @@ class Session implements IUserSession, Emitter { return false; } + // Update token scope + $this->lockdownManager->setToken($dbToken); + $this->tokenProvider->updateTokenActivity($dbToken); return true;