From b31cea90483747ac0fbf2743098b4079e9294b00 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 489f3cc0d3..8ba9901ab6 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -730,6 +730,9 @@ class Session implements IUserSession, Emitter { return false; } + // Update token scope + $this->lockdownManager->setToken($dbToken); + $this->tokenProvider->updateTokenActivity($dbToken); return true;