mirror of
https://github.com/pi-hole/web.git
synced 2026-04-24 02:39:25 +01:00
fix typo in cookie check
Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@
|
||||
// Check for and authorize from persistent cookie
|
||||
if (isset($_COOKIE["persistentlogin"]))
|
||||
{
|
||||
if ($pwhash = $_COOKIE["persistentlogin"])
|
||||
if ($pwhash === $_COOKIE["persistentlogin"])
|
||||
{
|
||||
$auth = true;
|
||||
// Refresh cookie with new expiry
|
||||
|
||||
Reference in New Issue
Block a user