diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-05-23 15:14:32 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-05-23 15:14:32 +0000 |
commit | cc98f95f740443204667bda6e7c4e0acb71f4c37 (patch) | |
tree | 69fb5ca9b8d4a4523fcbd2e8991c08660de953ab /lib/authenticator-plaintext.lua | |
parent | 7975ee62879b8833b1a6f8330af6611fbedf4f32 (diff) | |
download | acf-core-cc98f95f740443204667bda6e7c4e0acb71f4c37.tar.bz2 acf-core-cc98f95f740443204667bda6e7c4e0acb71f4c37.tar.xz |
Fixed bug in roles management
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1180 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lib/authenticator-plaintext.lua')
-rw-r--r-- | lib/authenticator-plaintext.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authenticator-plaintext.lua b/lib/authenticator-plaintext.lua index 613eaab..f7bdd1a 100644 --- a/lib/authenticator-plaintext.lua +++ b/lib/authenticator-plaintext.lua @@ -30,7 +30,7 @@ pvt.parse_authfile = function(filename) string.match(l, "([^:]*):([^:]*):([^:]*):(.*)") local r = {} roles=roles or "" - for x in string.gmatch(roles, "([^,]%w+),?") do + for x in string.gmatch(roles, "([^,][%w_]+),?") do table.insert (r, x ) end |