From 3857fee1017e8dec164faa13a0ca01828b4d50f6 Mon Sep 17 00:00:00 2001 From: Mike Mason Date: Mon, 4 Feb 2008 21:07:39 +0000 Subject: Adding the beingings of the authorization items. Also adding some of the updates to the Autentication. git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@689 ab2d0c66-481e-0410-8bed-d214d4d58bed --- lib/authenticator-plaintext.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/authenticator-plaintext.lua') diff --git a/lib/authenticator-plaintext.lua b/lib/authenticator-plaintext.lua index af2ab87..57bbf35 100644 --- a/lib/authenticator-plaintext.lua +++ b/lib/authenticator-plaintext.lua @@ -29,7 +29,7 @@ pvt.parse_authfile = function(filename) string.match(l, "([^:]*):([^:]*):([^:]*):(.*)") local r = {} roles=roles or "" - for x in string.gmatch(roles, "([^,]*),?") do + for x in string.gmatch(roles, "([^,]%w+),?") do table.insert (r, x ) end -- cgit v1.2.3