mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 02:39:25 +01:00
Update password.php
This commit is contained in:
@@ -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', '');
|
||||
|
||||
Reference in New Issue
Block a user