From 82fd96bdcc5b721d8fc208fe4edba54f4dc6fdb7 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Mon, 28 Apr 2008 15:24:27 +0000 Subject: Changed error redir code to use redirect function instead git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1051 ab2d0c66-481e-0410-8bed-d214d4d58bed --- app/acf-util/password-controller.lua | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (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 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 -- cgit v1.2.3