summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Ipsum <richardipsum@fastmail.co.uk>2014-05-04 11:36:05 +0100
committerRichard Ipsum <richardipsum@fastmail.co.uk>2014-05-04 12:44:49 +0100
commit25978dd00e0a77b9fcc36264a6602510c7407dab (patch)
tree962c4c87607db7015865c14db5f17c90493239b6
parent5f73b47797666dcc6095a8151981d9ef94870f36 (diff)
downloadgitano-25978dd00e0a77b9fcc36264a6602510c7407dab.tar.bz2
Make gitano-command pass repo_root to is_authorized
-rwxr-xr-xbin/gitano-command.cgi.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gitano-command.cgi.in b/bin/gitano-command.cgi.in
index 1954635..681603b 100755
--- a/bin/gitano-command.cgi.in
+++ b/bin/gitano-command.cgi.in
@@ -74,7 +74,7 @@ if os.getenv("QUERY_STRING") then
gitano.log.buffer_output()
local authorized, cmd, parsed_cmdline, config, env, repo =
- gitano.auth.is_authorized(user, "http", cmdline)
+ gitano.auth.is_authorized(user, "http", cmdline, os.getenv("GITANO_ROOT"))
if authorized then
local exit = run_command(cmd, cmdline, parsed_cmdline,