From 8d1cc190a47f421a40b65855efa34298e4633db5 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 21 Jul 2011 14:18:27 +0000 Subject: Removed logon / logout from list of home pages --- app/acf-util/password-controller.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/acf-util/password-controller.lua') diff --git a/app/acf-util/password-controller.lua b/app/acf-util/password-controller.lua index 19362ea..37e5ced 100644 --- a/app/acf-util/password-controller.lua +++ b/app/acf-util/password-controller.lua @@ -19,7 +19,9 @@ function editme(self) local tmp1, tmp2 = roles.get_roles_perm(self, value.value.roles.value) table.sort(tmp2) for i,h in ipairs(tmp2) do - value.value.home.option[#value.value.home.option+1] = h + if h ~= "/acf-util/logon/logout" and h ~= "/acf-util/logon/logon" then + value.value.home.option[#value.value.home.option+1] = h + end end value.value.roles = nil return value -- cgit v1.2.3