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:45 +0200 |
commit | df9193a0739b5c4028a385f3da4a3cedfd16ef0f (patch) | |
tree | a43f9ee303c61bb57e8aa328aca6288a30782eeb | |
parent | ee7802b54ceacc52cab13ce09824eb5db1effc98 (diff) | |
download | nextcloud-server-df9193a0739b5c4028a385f3da4a3cedfd16ef0f.tar.gz nextcloud-server-df9193a0739b5c4028a385f3da4a3cedfd16ef0f.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 10a98b22bef..0a9935cca52 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -714,6 +714,9 @@ class Session implements IUserSession, Emitter { return false; } + // Update token scope + $this->lockdownManager->setToken($dbToken); + $this->tokenProvider->updateTokenActivity($dbToken); return true; |