From fcaab1b363fcd5ff2dccce8f98cacabc5635ba5f Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Wed, 9 Oct 2013 19:24:30 +0000 Subject: Change use of require to work with Lua 5.2 --- lib/authenticator.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/authenticator.lua') 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 = {} -- cgit v1.2.3