summaryrefslogtreecommitdiffstats
path: root/app/acf-util/password-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'app/acf-util/password-controller.lua')
-rwxr-xr-xapp/acf-util/password-controller.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/app/acf-util/password-controller.lua b/app/acf-util/password-controller.lua
index fdcca8a..4dbe1eb 100755
--- a/app/acf-util/password-controller.lua
+++ b/app/acf-util/password-controller.lua
@@ -15,11 +15,7 @@ end
local function check_logonstatus(self)
-- Redirect the user if he's not logged in.
if not (self.sessiondata.userinfo) then
- self.conf.action = "logon"
- self.conf.controller = "logon"
- self.conf.type = "redir"
- error (self.conf)
- return self
+ redirect(self, "logon", "logon")
end
end