diff options
author | Ted Trask <ttrask01@yahoo.com> | 2012-10-26 23:58:08 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2012-10-26 23:58:08 +0000 |
commit | ba92063991bb0ec6cbff6238162318eb058c49c7 (patch) | |
tree | 83782456edcf060e5953837720e96b2c592a6284 | |
parent | d7f619cd0cf4aa42f6accf19a47f4fb3d90d085a (diff) | |
download | acf-core-ba92063991bb0ec6cbff6238162318eb058c49c7.tar.bz2 acf-core-ba92063991bb0ec6cbff6238162318eb058c49c7.tar.xz |
Remove the public variable auth, replaced by get_subauth function
-rw-r--r-- | lib/authenticator.lua | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/authenticator.lua b/lib/authenticator.lua index bf777ed..90424da 100644 --- a/lib/authenticator.lua +++ b/lib/authenticator.lua @@ -10,10 +10,7 @@ require("posix") require("session") -- This is the sub-authenticator --- This is a public variable to allow other controllers (ie tinydns) to do their own permissions --- When tinydns (and any others using the auth variable) are updated to use the get_subauth function --- we can make this local and remove the call to get_subauth at the end of this file -auth = nil +local auth = nil -- Publicly define the pre-defined tables usertable = "passwd" @@ -213,5 +210,3 @@ delete_user = function (self, userid) authstruct[userid] = nil return auth.delete_entry(self, usertable, "", userid) end - -auth = get_subauth(APP) |