diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2014-05-16 18:03:13 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2014-05-16 18:03:13 +0100 |
commit | f010726f585dc15f71673ca4be749757e9ed10cb (patch) | |
tree | 5a85de10bfdc398392e3176df2382172b956d942 /lib/gitano/auth.lua | |
parent | 93f36f49ff6a92f307e1eacbdd91673734ca7dc5 (diff) | |
parent | 800ec03542c7bc09afbddce9a2b01f94d615fce9 (diff) | |
download | gitano-f010726f585dc15f71673ca4be749757e9ed10cb.tar.gz |
Merge remote-tracking branch 'ri/richardipsum/refactor'
Diffstat (limited to 'lib/gitano/auth.lua')
-rw-r--r-- | lib/gitano/auth.lua | 3 |
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 |