From: Hypolite Petovan Date: Sun, 21 Jan 2018 00:14:41 +0000 (-0500) Subject: Update expiration delay to 60 minutes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=071b1c038addc94178eff22a47f0bf126b4a9d28;p=friendica.git Update expiration delay to 60 minutes --- diff --git a/mod/lostpass.php b/mod/lostpass.php index 3ac1164ef2..c8254d6ca3 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