diff options
Diffstat (limited to 'app/acf-util/password-controller.lua')
-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 |