X-Git-Url: http://git.pjr.cc/?p=gwvp.git;a=blobdiff_plain;f=gwvplib%2Fgwvpauth.php;h=086af98d6467cf5fb29b59432909aa9c91626fdb;hp=5056c061832206075f73f93914035aa5b298bbbd;hb=507bc8f2818a42d751ed6e2e2fc68ee2bde94016;hpb=1a1ed3388655bbc4001022fd91f3f5ea3ad4d03a diff --git a/gwvplib/gwvpauth.php b/gwvplib/gwvpauth.php index 5056c06..086af98 100644 --- a/gwvplib/gwvpauth.php +++ b/gwvplib/gwvpauth.php @@ -40,7 +40,6 @@ function gwvp_AskForBasicAuth() if(!isset($_SERVER["PHP_AUTH_USER"])) { header('WWW-Authenticate: Basic realm="My Realm"'); header('HTTP/1.0 401 Unauthorized'); - exit(0); } else return; } @@ -59,12 +58,6 @@ function gwvp_CheckAuthLevel($levels) return false; } -function gwvp_fourZeroThree() -{ - header("HTTP/1.0 403 Permission Denied"); - exit(0); -} - function gwvp_AuthNoPerms() { gwvp_goMainPage("gwvp_AuthNoPermsBody"); @@ -229,7 +222,7 @@ function gwvp_SingleLineLoginForm() echo "
Username "; echo " Passowrd "; if(gwvp_IsRegistrationEnabled()) echo "Register
"; - else echo ""; + else echo "
"; }