diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-08-14 09:45:52 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-08-14 13:16:07 +0200 |
commit | b31cea90483747ac0fbf2743098b4079e9294b00 (patch) | |
tree | 1243606bb60904726c4bf10d2f9417f0293203bd | |
parent | 015c66b94f238e36b647d2dcb7318097fb7102e5 (diff) | |
download | nextcloud-server-b31cea90483747ac0fbf2743098b4079e9294b00.tar.gz nextcloud-server-b31cea90483747ac0fbf2743098b4079e9294b00.zip |
Update the scope of the lockdownmanager
We have the token anyway. So better the scope as well.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
-rw-r--r-- | lib/private/User/Session.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index 489f3cc0d3d..8ba9901ab6c 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; |