summaryrefslogtreecommitdiff
path: root/lib/gitano/auth.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitano/auth.lua')
-rw-r--r--lib/gitano/auth.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/gitano/auth.lua b/lib/gitano/auth.lua
index 8c3a4e6..2e275dd 100644
--- a/lib/gitano/auth.lua
+++ b/lib/gitano/auth.lua
@@ -49,8 +49,7 @@ local function set_environment(repo_root, repo, context, transactionid)
return env
end
-local function is_authorized(user, source, cmdline)
- local repo_root = os.getenv("GITANO_ROOT")
+local function is_authorized(user, source, cmdline, repo_root)
local keytag = ""
local authorized = false