Add better error description for the cookies error

https://sourceforge.net/p/webadmin/discussion/600155/thread/0b15f9c4/?limit=25#d12b
This commit is contained in:
Ilia Rostovtsev
2021-01-17 16:09:14 +03:00
parent 7bdc874719
commit ce156cc4dc

View File

@@ -4158,10 +4158,10 @@ $authuser = $vu if ($ok);
# check if the test cookie is set
if ($header{'cookie'} !~ /testing=1/ && $vu &&
!$config{'no_testing_cookie'} && !$notest) {
&http_error(500, "No cookies",
"Your browser does not support cookies, ".
"which are required for this web server to ".
"work in session authentication mode");
&http_error(500, "Cache issue or no cookies support",
"Please clear your browser's cache for the given ".
"domain and/or try incognito tab; double check ".
"to have cookies support enabled.");
}
# check with main process for delay