summaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-08-14 09:45:52 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2018-08-14 09:45:52 +0200
commitac4735a4f242481283c5e20fe827ad395b8e5a52 (patch)
tree79e2531428dfe72acf182e55bbd57ff7054cd488 /lib/private
parent8601bbc35d915d6dc1c847560d148981c518c27f (diff)
downloadnextcloud-server-ac4735a4f242481283c5e20fe827ad395b8e5a52.tar.gz
nextcloud-server-ac4735a4f242481283c5e20fe827ad395b8e5a52.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>
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/User/Session.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php
index ee1439b9e20..fbd6a0a78e3 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;