add list of repos a user can commit to
[gwvp-mini.git] / gwvpmini / gwvpmini_gitbackend.php
index bea736d..c3975e6 100644 (file)
@@ -138,8 +138,11 @@ function gwvpmini_gitBackendInterface()
        // if its a write, we push for authentication
        
        //if($write) {
-               gwvpmini_callGitBackend($person, $repo);
-               return;
+       if(!$person) {
+               $person = "anonymous";
+       }
+       gwvpmini_callGitBackend($person, $repo);
+       return;
        //}
 
        // if we made it this far, we a read and we have permissions to do so, just search the file from the repo