From b5c11782b1e350b7ea55780b06a407bac6a7a9c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bekta=C5=9F=20Aykut=20Atalay?= Date: Fri, 14 Feb 2020 09:40:01 +0300 Subject: [PATCH] Update index.php editor-auth cookie seen as not encrypted in cookies. --- src/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.php b/src/index.php index 447e958..792e8ae 100644 --- a/src/index.php +++ b/src/index.php @@ -22,7 +22,7 @@ require('set-password.php'); exit; } -if($PASSWORD!=md5('')&&(!isset($_COOKIE['editor-auth'])||md5($_COOKIE['editor-auth'])!=$PASSWORD)){ +if($PASSWORD!=md5('')&&(!isset($_COOKIE['editor-auth'])||$_COOKIE['editor-auth']!=$PASSWORD)){ require('login.html'); exit; }