summaryrefslogtreecommitdiffstats
path: root/lib/authenticator.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2013-10-09 19:24:30 +0000
committerTed Trask <ttrask01@yahoo.com>2013-10-09 19:24:30 +0000
commitfcaab1b363fcd5ff2dccce8f98cacabc5635ba5f (patch)
treecd28bbb1bc80b0a36de234768fd6f3b75b8fcc9c /lib/authenticator.lua
parente07736354b22bef2599d1831a6ba435808c0630d (diff)
downloadacf-core-fcaab1b363fcd5ff2dccce8f98cacabc5635ba5f.tar.bz2
acf-core-fcaab1b363fcd5ff2dccce8f98cacabc5635ba5f.tar.xz
Change use of require to work with Lua 5.2
Diffstat (limited to 'lib/authenticator.lua')
-rw-r--r--lib/authenticator.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/authenticator.lua b/lib/authenticator.lua
index 311e764..789ecde 100644
--- a/lib/authenticator.lua
+++ b/lib/authenticator.lua
@@ -3,11 +3,11 @@
-- password:username:ROLE1[,ROLE2...]
module (..., package.seeall)
-require("modelfunctions")
+modelfunctions = require("modelfunctions")
format = require("acf.format")
-require("md5")
-require("posix")
-require("session")
+md5 = require("md5")
+posix = require("posix")
+session = require("session")
-- This is the sub-authenticator
local auth = {}