Update expiration delay to 60 minutes
This commit is contained in:
parent
ed6f4cdbde
commit
071b1c038a
|
@ -92,7 +92,7 @@ function lostpass_content(App $a)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Password reset requests expire in 20 minutes
|
// 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 = [
|
$fields = [
|
||||||
'pwdreset' => null,
|
'pwdreset' => null,
|
||||||
'pwdreset_time' => null
|
'pwdreset_time' => null
|
||||||
|
|
Loading…
Reference in a new issue