Merge pull request #7297 from nextcloud/fgsl-master
Loss of performance on Login after upgrade from NC10 + LDAP to NC 12+ LDAP
This commit is contained in:
commit
3d7489cfd6
|
@ -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);
|
||||
|
||||
|
|
|
@ -91,6 +91,7 @@ class DefaultTokenProviderTest extends TestCase {
|
|||
$toInsert->setType($type);
|
||||
$toInsert->setRemember(IToken::DO_NOT_REMEMBER);
|
||||
$toInsert->setLastActivity($this->time);
|
||||
$toInsert->setLastCheck($this->time);
|
||||
|
||||
$this->config->expects($this->any())
|
||||
->method('getSystemValue')
|
||||
|
|
Loading…
Reference in New Issue