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>
This commit is contained in:
Roeland Jago Douma 2018-08-14 09:45:52 +02:00
parent 015c66b94f
commit b31cea9048
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 3 additions and 0 deletions

View File

@ -730,6 +730,9 @@ class Session implements IUserSession, Emitter {
return false;
}
// Update token scope
$this->lockdownManager->setToken($dbToken);
$this->tokenProvider->updateTokenActivity($dbToken);
return true;