summaryrefslogtreecommitdiffstats
path: root/app/acf-util/logon-controller.lua
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2012-02-06 13:24:15 +0000
committerTed Trask <ttrask01@yahoo.com>2012-02-06 13:24:15 +0000
commit21b89eeaeb9a2192b552f842161973777de056d7 (patch)
treeab245632b1791de250d5d61b3f7717ca86e1b7b2 /app/acf-util/logon-controller.lua
parent929263e84ddc10bd0c801b3be8b4cf5495c0d16d (diff)
downloadacf-core-21b89eeaeb9a2192b552f842161973777de056d7.tar.bz2
acf-core-21b89eeaeb9a2192b552f842161973777de056d7.tar.xz
Modified html template to set focus to first useable field
Diffstat (limited to 'app/acf-util/logon-controller.lua')
-rw-r--r--app/acf-util/logon-controller.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/acf-util/logon-controller.lua b/app/acf-util/logon-controller.lua
index df2fd70..272af78 100644
--- a/app/acf-util/logon-controller.lua
+++ b/app/acf-util/logon-controller.lua
@@ -66,6 +66,7 @@ logout = function(self)
local logout = self.model.logoff(conf.sessiondir, sessiondata)
-- We have to redirect so a new session / menu is created
redirect(self, "logon")
+ return logout
end
-- Report the login status
@@ -75,5 +76,5 @@ status = function(self)
if self.sessiondata.userinfo then
name.value = self.sessiondata.userinfo.username or ""
end
- return cfe({ type="group", value={username=name, sessionid=sessionid} })
+ return cfe({ type="group", value={username=name, sessionid=sessionid}, label="Logon Status" })
end