summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2018-08-14 14:29:58 +0200
committerGitHub <noreply@github.com>2018-08-14 14:29:58 +0200
commitdfe25bd081be878f7b182d6b1883dcad77569f8f (patch)
treea43f9ee303c61bb57e8aa328aca6288a30782eeb
parentee7802b54ceacc52cab13ce09824eb5db1effc98 (diff)
parentdf9193a0739b5c4028a385f3da4a3cedfd16ef0f (diff)
downloadnextcloud-server-dfe25bd081be878f7b182d6b1883dcad77569f8f.tar.gz
nextcloud-server-dfe25bd081be878f7b182d6b1883dcad77569f8f.zip
Merge pull request #10683 from nextcloud/backport/10680/stable12
[stable12] Update the scope of the lockdownmanager
-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 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;