diff options
Diffstat (limited to 'app/acf-util/logon-controller.lua')
-rw-r--r-- | app/acf-util/logon-controller.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/acf-util/logon-controller.lua b/app/acf-util/logon-controller.lua index 1dc3360..8d4f57e 100644 --- a/app/acf-util/logon-controller.lua +++ b/app/acf-util/logon-controller.lua @@ -11,9 +11,10 @@ logon = function(self) local cmdresult = cfe({ type="form", value={userid=userid, password=password}, label="Logon" }) if clientdata.userid and clientdata.password then local logon = self.model:logon(clientdata, conf.clientip, conf.sessiondir, sessiondata) - -- If successful logon, redirect to status, otherwise try again + -- If successful logon, redirect to welcome-page, otherwise try again if logon.value then - redirect(self, "status") + self.conf.controller = "" + redirect(self, "") else cmdresult.errtxt = "Logon Attempt Failed" end |