summaryrefslogtreecommitdiffstats
path: root/lib/public/Security
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2021-08-25 12:44:38 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2021-09-09 14:03:35 +0200
commita20de15b4388e4d57b0fb26eaeca98cd6ba817f8 (patch)
tree011b653dd5642e8e7f676e41607c517d34644f34 /lib/public/Security
parent37f510cec28cbca0c849101e471b83293fd30aad (diff)
downloadnextcloud-server-a20de15b4388e4d57b0fb26eaeca98cd6ba817f8.tar.gz
nextcloud-server-a20de15b4388e4d57b0fb26eaeca98cd6ba817f8.zip
add a job to clean up expired verification tokens
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'lib/public/Security')
-rw-r--r--lib/public/Security/VerificationToken/IVerificationToken.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/public/Security/VerificationToken/IVerificationToken.php b/lib/public/Security/VerificationToken/IVerificationToken.php
index 12c03178fb6..c5f19e5de7f 100644
--- a/lib/public/Security/VerificationToken/IVerificationToken.php
+++ b/lib/public/Security/VerificationToken/IVerificationToken.php
@@ -46,7 +46,7 @@ interface IVerificationToken {
* @throws InvalidTokenException
* @since 23.0.0
*/
- public function check(string $token, ?IUser $user, string $subject, string $passwordPrefix = ''): void;
+ public function check(string $token, ?IUser $user, string $subject, string $passwordPrefix = '', bool $expiresWithLogin = false): void;
/**
* @since 23.0.0