summaryrefslogtreecommitdiffstats
path: root/lib/authenticator.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-01-16 21:24:16 +0000
committerTed Trask <ttrask01@yahoo.com>2009-01-16 21:24:16 +0000
commit40e76669c37893fbb2939d9a694f96cdb0c901a8 (patch)
treee30e3db2d83a5936c4d61b1090c72966f5adab88 /lib/authenticator.lua
parentea807e9802a1a14db8bf3f3fb44841a6e2c9266a (diff)
downloadacf-core-40e76669c37893fbb2939d9a694f96cdb0c901a8.tar.bz2
acf-core-40e76669c37893fbb2939d9a694f96cdb0c901a8.tar.xz
Tested by removing expected packages, files, and directories. Fixed resulting bugs.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1683 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib/authenticator.lua')
-rw-r--r--lib/authenticator.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authenticator.lua b/lib/authenticator.lua
index 941e19f..92f3a10 100644
--- a/lib/authenticator.lua
+++ b/lib/authenticator.lua
@@ -28,7 +28,7 @@ local availablefields = {
local load_database = function(self)
if not authstruct then
- local authtable = auth.read_field(self, usertable, "")
+ local authtable = auth.read_field(self, usertable, "") or {}
authstruct = {}
for i,value in ipairs(authtable) do
if value.id ~= "" then