Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2021-11-12 16:43:23 +0300
committerJoas Schilling <coding@schilljs.com>2021-11-12 16:43:23 +0300
commitccfaddf781d4d2c29994674ffeca4c6b58220ea4 (patch)
treedb93925c76b5763d78987d5c254c88e5eb2568e4 /lib
parent31bcd10c2ac272d77ac578172f3d6e035fd9b48d (diff)
Fix missing token update
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/User/Session.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php
index fa6f14fd3ec..710cba84879 100644
--- a/lib/private/User/Session.php
+++ b/lib/private/User/Session.php
@@ -750,6 +750,7 @@ class Session implements IUserSession, Emitter {
}
$dbToken->setLastCheck($now);
+ $this->tokenProvider->updateToken($dbToken);
return true;
}
@@ -767,6 +768,7 @@ class Session implements IUserSession, Emitter {
}
$dbToken->setLastCheck($now);
+ $this->tokenProvider->updateToken($dbToken);
return true;
}