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 8601bbc35d
commit ac4735a4f2
No known key found for this signature in database
GPG key ID: F941078878347C0C

View file

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