diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2024-05-21 07:55:01 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2024-05-21 07:55:01 +0200 |
commit | bcc02a3c71b2889f1ef3acc15e09b3fda1b34fae (patch) | |
tree | 2c82be5bf7881a44a8041885f40988a8ec166e53 /lib/private/Authentication | |
parent | 54afea4b01385106a241a5161b3894e669716107 (diff) | |
download | nextcloud-server-bcc02a3c71b2889f1ef3acc15e09b3fda1b34fae.tar.gz nextcloud-server-bcc02a3c71b2889f1ef3acc15e09b3fda1b34fae.zip |
fix(auth): Update authtoken activity selectively
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/Authentication')
-rw-r--r-- | lib/private/Authentication/Token/PublicKeyTokenProvider.php | 2 |
1 files changed, 0 insertions, 2 deletions
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); } |