aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Authentication
diff options
context:
space:
mode:
authorDaniel <mail@danielkesselberg.de>2024-05-29 12:05:45 +0200
committerGitHub <noreply@github.com>2024-05-29 12:05:45 +0200
commitfca38e12c8fd76be717ad4fe7f1d0eaecfb09288 (patch)
tree7c29aa2a92f3fd27295c284e475ddb63ec8ecd79 /lib/private/Authentication
parentb7b2966ce211a47edf710c3b2d0d3738e517fc81 (diff)
parentbcc02a3c71b2889f1ef3acc15e09b3fda1b34fae (diff)
downloadnextcloud-server-fca38e12c8fd76be717ad4fe7f1d0eaecfb09288.tar.gz
nextcloud-server-fca38e12c8fd76be717ad4fe7f1d0eaecfb09288.zip
Merge pull request #45411 from nextcloud/fix/auth/selective-token-activity-update
fix(auth): Update authtoken activity selectively
Diffstat (limited to 'lib/private/Authentication')
-rw-r--r--lib/private/Authentication/Token/PublicKeyTokenProvider.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private/Authentication/Token/PublicKeyTokenProvider.php b/lib/private/Authentication/Token/PublicKeyTokenProvider.php
index c8e00acf887..5363b82df69 100644
--- a/lib/private/Authentication/Token/PublicKeyTokenProvider.php
+++ b/lib/private/Authentication/Token/PublicKeyTokenProvider.php
@@ -286,8 +286,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);
}