diff options
Diffstat (limited to 'lib/private/Authentication/Token/PublicKeyTokenProvider.php')
-rw-r--r-- | lib/private/Authentication/Token/PublicKeyTokenProvider.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Authentication/Token/PublicKeyTokenProvider.php b/lib/private/Authentication/Token/PublicKeyTokenProvider.php index ca7a7e37e1e..b7e0d1da332 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php +++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php @@ -190,7 +190,7 @@ class PublicKeyTokenProvider implements IProvider { throw new InvalidTokenException(); } - // When changeing passwords all temp tokens are deleted + // When changing passwords all temp tokens are deleted $this->mapper->deleteTempToken($token); // Update the password for all tokens @@ -314,6 +314,7 @@ class PublicKeyTokenProvider implements IProvider { $dbToken->setRemember($remember); $dbToken->setLastActivity($this->time->getTime()); $dbToken->setLastCheck($this->time->getTime()); + $dbToken->setVersion(PublicKeyToken::VERSION); return $dbToken; } |