diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-05-14 18:07:45 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-05-14 18:07:45 +0000 |
commit | 309ecb7da28b78999d29eea937ebdd8eaa411d66 (patch) | |
tree | 782bf2d430de9753fae532034c9ec196ed06eae1 /app/acf-util | |
parent | 9ae856d2dc847fbaa89ebb822b8c9c0abed88c17 (diff) | |
download | acf-core-309ecb7da28b78999d29eea937ebdd8eaa411d66.tar.bz2 acf-core-309ecb7da28b78999d29eea937ebdd8eaa411d66.tar.xz |
Change inheritance from worker->self->parent to self->worker->parent as found in wiki.
Move the permissions stuff out of mvc.dispatch into new acf_www.dispatch.
Moved redirect from mvc to acf_www and made to parse path.
Changed the order of parameters to template and passed all to the view.
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@1118 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/acf-util')
-rw-r--r-- | app/acf-util/logon-controller.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/acf-util/logon-controller.lua b/app/acf-util/logon-controller.lua index 8d4f57e..2a55c7a 100644 --- a/app/acf-util/logon-controller.lua +++ b/app/acf-util/logon-controller.lua @@ -13,8 +13,7 @@ logon = function(self) local logon = self.model:logon(clientdata, conf.clientip, conf.sessiondir, sessiondata) -- If successful logon, redirect to welcome-page, otherwise try again if logon.value then - self.conf.controller = "" - redirect(self, "") + redirect(self, "/welcome/read") else cmdresult.errtxt = "Logon Attempt Failed" end |