From bcc02a3c71b2889f1ef3acc15e09b3fda1b34fae Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 21 May 2024 07:55:01 +0200 Subject: fix(auth): Update authtoken activity selectively Signed-off-by: Christoph Wurst --- lib/private/Authentication/Token/PublicKeyTokenProvider.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/private/Authentication') diff --git a/lib/private/Authentication/Token/PublicKeyTokenProvider.php b/lib/private/Authentication/Token/PublicKeyTokenProvider.php index ea1e5484dda..3a15ba006d4 100644 --- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php +++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php @@ -308,8 +308,6 @@ class PublicKeyTokenProvider implements IProvider { if (!($token instanceof PublicKeyToken)) { throw new InvalidTokenException("Invalid token type"); } - $now = $this->time->getTime(); - $token->setLastActivity($now); $this->mapper->update($token); $this->cacheToken($token); } -- cgit v1.2.3