mirror of
https://github.com/friendica/friendica
synced 2024-11-10 03:42:53 +00:00
Update expiration delay to 60 minutes
This commit is contained in:
parent
ed6f4cdbde
commit
071b1c038a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue