moved the old git poc code off and away from the main directory
[gwvp.git] / gwvplib / gwvpauth.php
index e06fdde..2602256 100644 (file)
@@ -39,8 +39,8 @@ function gwvp_AskForBasicAuth()
 {
        error_log("AUTH: asking for basic auth");
        if(!isset($_SERVER["PHP_AUTH_USER"])) {
-               header('WWW-Authenticate: Basic realm="My Realm"');
-               header('HTTP/1.0 401 Unauthorized');
+               header('WWW-Authenticate: Basic realm="GIT Repo"');
+               header('HTTP/1.1 401 Unauthorized');
        } else return; 
 }