cant quite see whats going on here, but when sent a "401" the git client
[gwvp-mini.git] / gwvpmini / gwvpmini_auth.php
index 342cd71..bc80d8f 100644 (file)
@@ -95,9 +95,10 @@ function gwvpmini_isLoggedIn()
 }
 
 function gwvpmini_AskForBasicAuth()\r
-{\r
-       header('WWW-Authenticate: Basic realm="GIT Repo"');\r
-       header('HTTP/1.1 401 Unauthorized');\r
+{
+       error_log("SEND BASIC AUTH");\r
+       header('HTTP/1.1 401 Unauthorized');
+       header('WWW-Authenticate: Basic realm="GITRepo"');\r
 }\r