Loss of performance on Login after upgrade from NC10 + LDAP to NC 12 + LDAP #6732

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Flávio Gomes da Silva Lisboa 2017-10-24 10:41:29 -02:00 committed by Lukas Reschke
parent 655c0cb40d
commit 5ca9a7d6bc
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
1 changed files with 1 additions and 0 deletions

View File

@ -97,6 +97,7 @@ class DefaultTokenProvider implements IProvider {
$dbToken->setType($type);
$dbToken->setRemember($remember);
$dbToken->setLastActivity($this->time->getTime());
$dbToken->setLastCheck($this->time->getTime());
$this->mapper->insert($dbToken);