diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-08-25 12:44:38 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-09 14:03:35 +0200 |
commit | a20de15b4388e4d57b0fb26eaeca98cd6ba817f8 (patch) | |
tree | 011b653dd5642e8e7f676e41607c517d34644f34 /lib/public/Security | |
parent | 37f510cec28cbca0c849101e471b83293fd30aad (diff) | |
download | nextcloud-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.php | 2 |
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 |