From 071b1c038addc94178eff22a47f0bf126b4a9d28 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sat, 20 Jan 2018 19:14:41 -0500 Subject: [PATCH] Update expiration delay to 60 minutes --- mod/lostpass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/lostpass.php b/mod/lostpass.php index 3ac1164ef..c8254d6ca 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -92,7 +92,7 @@ function lostpass_content(App $a) } // Password reset requests expire in 20 minutes - if ($user['pwdreset_time'] < datetime_convert('UTC', 'UTC', 'now - 20 minutes')) { + if ($user['pwdreset_time'] < datetime_convert('UTC', 'UTC', 'now - 1 hour')) { $fields = [ 'pwdreset' => null, 'pwdreset_time' => null