From d67f8c66eef52d8fe2347ec92645cd57d18713d0 Mon Sep 17 00:00:00 2001 From: DL6ER Date: Fri, 24 Aug 2018 19:09:24 +0200 Subject: [PATCH] Wrong token is either when users try to do it via an old session or through a script. Hence, the message should tell the user to re-login Signed-off-by: DL6ER --- scripts/pi-hole/php/auth.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pi-hole/php/auth.php b/scripts/pi-hole/php/auth.php index ff236d2b..5d832a86 100644 --- a/scripts/pi-hole/php/auth.php +++ b/scripts/pi-hole/php/auth.php @@ -102,7 +102,7 @@ function check_csrf($token) { } if(!hash_equals($_SESSION['token'], $token)) { - log_and_die("Wrong token! Check if cookies are enabled on your system."); + log_and_die("Wrong token! Please re-login on the Pi-hole dashboard."); } }