diff options
author | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-02-15 18:51:03 +0000 |
---|---|---|
committer | Richard Ipsum <richard.ipsum@codethink.co.uk> | 2014-02-15 18:51:03 +0000 |
commit | 41fe9d505b4d0ff3814401c65b960c6b4ef9139c (patch) | |
tree | 29954cdf33ce8d1301d2a538a47f4c8cf3e43435 | |
parent | 3fb3089ca8f79e64d1c5b36940918b6af81f1213 (diff) | |
download | gitano-41fe9d505b4d0ff3814401c65b960c6b4ef9139c.tar.gz |
gitano-smart: add source arg
-rwxr-xr-x | bin/gitano-smart-http.cgi.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitano-smart-http.cgi.in b/bin/gitano-smart-http.cgi.in index b5c02a5..cadea88 100755 --- a/bin/gitano-smart-http.cgi.in +++ b/bin/gitano-smart-http.cgi.in @@ -58,7 +58,7 @@ if request_method == "GET" or request_method == "POST" then local user = os.getenv("REMOTE_USER") or "gitano/anonymous" local cmdline = parse_request(request_method) - if cmdline and gitano.auth.is_authorized(user, cmdline) then + if cmdline and gitano.auth.is_authorized(user, "http", cmdline) then os.execute("git http-backend") else io.write("Status: 403 Forbidden\r\n\r\n") |