aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Lockdown
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Lockdown')
-rw-r--r--lib/private/Lockdown/LockdownManager.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Lockdown/LockdownManager.php b/lib/private/Lockdown/LockdownManager.php
index 150b54bdba2..c34f7e01b65 100644
--- a/lib/private/Lockdown/LockdownManager.php
+++ b/lib/private/Lockdown/LockdownManager.php
@@ -33,7 +33,7 @@ class LockdownManager implements ILockdownManager {
}
public function setToken(IToken $token) {
- $this->scope = $token->getScope();
+ $this->scope = $token->getScopeAsArray();
$this->enable();
}