diff options
Diffstat (limited to 'lib/authenticator.lua')
-rw-r--r-- | lib/authenticator.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/authenticator.lua b/lib/authenticator.lua index 1b55150..941e19f 100644 --- a/lib/authenticator.lua +++ b/lib/authenticator.lua @@ -171,7 +171,7 @@ get_userinfo_roles = function(self, userid) if rol then local avail_roles = rol.list_all_roles(self) for x,role in ipairs(avail_roles) do - if role=="ALL" then + if role==rol.guest_role then table.remove(avail_roles,x) break end |