Update password.php

This commit is contained in:
Rob Gill
2018-05-10 09:14:57 +10:00
committed by GitHub
parent 5733d08745
commit 7a3fc169a5

View File

@@ -46,7 +46,9 @@
{ $auth = true;
// Refresh cookie with new expiry
setcookie('persistentlogin', $pwhash, time()+60*60*24*7);
}
else
{
// Invalid cookie
$auth = false;
setcookie('persistentlogin', '');