summaryrefslogtreecommitdiffstats
path: root/lib/private/User
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-04-06 15:27:30 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-04-06 15:27:30 +0200
commitfbadb37b9bf2b7b8e270f25b82bea969d9b59609 (patch)
treebf0c7640c1513dacbe12db56402ff7074474e888 /lib/private/User
parent0a463e55ae72fc0b5d4fd5394e1f39b6bbafe03e (diff)
downloadnextcloud-server-fbadb37b9bf2b7b8e270f25b82bea969d9b59609.tar.gz
nextcloud-server-fbadb37b9bf2b7b8e270f25b82bea969d9b59609.zip
use known LockdownManager
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/private/User')
-rw-r--r--lib/private/User/Session.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php
index b1e6b1650c9..5d36cfe21ad 100644
--- a/lib/private/User/Session.php
+++ b/lib/private/User/Session.php
@@ -349,7 +349,7 @@ class Session implements IUserSession, Emitter {
if(isset($loginDetails['token']) && $loginDetails['token'] instanceof IToken) {
$this->setToken($loginDetails['token']->getId());
- \OC::$server->getLockdownManager()->setToken($loginDetails['token']);
+ $this->lockdownManager->setToken($loginDetails['token']);
$firstTimeLogin = false;
} else {
$this->setToken(null);