]> git.mxchange.org Git - friendica.git/commitdiff
Update expiration delay to 60 minutes
authorHypolite Petovan <mrpetovan@gmail.com>
Sun, 21 Jan 2018 00:14:41 +0000 (19:14 -0500)
committerHypolite Petovan <mrpetovan@gmail.com>
Sun, 21 Jan 2018 00:14:41 +0000 (19:14 -0500)
mod/lostpass.php

index 3ac1164ef270c6336450c729b16641d975df6fb7..c8254d6ca3e7c9ffda0c0aea78026e2e0363c133 100644 (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