diff options
author | Ted Trask <ttrask01@yahoo.com> | 2011-07-21 14:18:27 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2011-11-25 20:55:11 +0000 |
commit | 1150c3708f2c4d995b042e107311c4aa0e89e3d3 (patch) | |
tree | c0baf26e2a6d23b7820f5334ade6c13bd95940e6 | |
parent | 52455f1fd6769c2158859ae48549686a5da98f53 (diff) | |
download | acf-core-1150c3708f2c4d995b042e107311c4aa0e89e3d3.tar.bz2 acf-core-1150c3708f2c4d995b042e107311c4aa0e89e3d3.tar.xz |
Removed logon / logout from list of home pages
(cherry picked from commit 8d1cc190a47f421a40b65855efa34298e4633db5)
-rw-r--r-- | app/acf-util/password-controller.lua | 4 |
1 files changed, 3 insertions, 1 deletions
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 |