Update comment with updated expiration time

This commit is contained in:
Hypolite Petovan 2018-01-20 19:15:05 -05:00
parent 071b1c038a
commit a827522f53

View file

@ -91,7 +91,7 @@ function lostpass_content(App $a)
return lostpass_form();
}
// Password reset requests expire in 20 minutes
// Password reset requests expire in 60 minutes
if ($user['pwdreset_time'] < datetime_convert('UTC', 'UTC', 'now - 1 hour')) {
$fields = [
'pwdreset' => null,