Update expiration delay to 60 minutes

This commit is contained in:
Hypolite Petovan 2018-01-20 19:14:41 -05:00
parent ed6f4cdbde
commit 071b1c038a

View File

@ -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