diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-04-28 15:24:27 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-04-28 15:24:27 +0000 |
commit | 82fd96bdcc5b721d8fc208fe4edba54f4dc6fdb7 (patch) | |
tree | abb2e621dd6e96b03344ace398be7c7a543f2990 /app | |
parent | 40ea307aa34120de1409050525140831ce8634d8 (diff) | |
download | acf-core-82fd96bdcc5b721d8fc208fe4edba54f4dc6fdb7.tar.bz2 acf-core-82fd96bdcc5b721d8fc208fe4edba54f4dc6fdb7.tar.xz |
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
Diffstat (limited to 'app')
-rwxr-xr-x | app/acf-util/password-controller.lua | 6 |
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 |