fix: Always set last activity if we update the row of an authtoken anyways

Signed-off-by: Julius Härtl <jus@bitgrid.net>
pull/45026/head
Julius Härtl 3 weeks ago
parent ac8f2e5592
commit 04780ae30a

@ -308,6 +308,8 @@ 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);
}

Loading…
Cancel
Save