summaryrefslogtreecommitdiffstats
path: root/app/acf_www-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'app/acf_www-controller.lua')
-rw-r--r--app/acf_www-controller.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/acf_www-controller.lua b/app/acf_www-controller.lua
index 4aa5b44..0391347 100644
--- a/app/acf_www-controller.lua
+++ b/app/acf_www-controller.lua
@@ -9,7 +9,7 @@ module(..., package.seeall)
-- This is not in the global namespace, but future
-- require statements shouldn't need to go to the disk lib
-require "posix"
+posix = require("posix")
-- We use the parent exception handler in a last-case situation
local parent_exception_handler
@@ -268,7 +268,7 @@ mvc.on_load = function (self, parent)
end
self.sessiondata = {}
self.sessiondata.id = sessionlib.random_hash(512)
- require("authenticator")
+ authenticator = require("authenticator")
self.sessiondata.userinfo = authenticator.get_userinfo(self, ENV.REMOTE_USER)
logevent("Automatic logon as ENV.REMOTE_USER: "..tostring(ENV.REMOTE_USER))
end