summaryrefslogtreecommitdiffstats
path: root/app/acf-util/logon-controller.lua
diff options
context:
space:
mode:
Diffstat (limited to 'app/acf-util/logon-controller.lua')
-rw-r--r--app/acf-util/logon-controller.lua10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/acf-util/logon-controller.lua b/app/acf-util/logon-controller.lua
index 5404dbd..6ac293e 100644
--- a/app/acf-util/logon-controller.lua
+++ b/app/acf-util/logon-controller.lua
@@ -61,15 +61,15 @@ logon = function(self)
return cmdresult
end
--- Log out current user and go to login screen
-logout = function(self)
- local logout = self.model.logoff(conf.sessiondir, sessiondata)
+-- Log off current user and go to logon screen
+logoff = function(self)
+ local logoff = self.model.logoff(conf.sessiondir, sessiondata)
-- We have to redirect so a new session / menu is created
redirect(self, "logon")
- return logout
+ return logoff
end
--- Report the login status
+-- Report the logon status
status = function(self)
local name = cfe({ label="User Name" })
local sessionid = cfe({ value=self.sessiondata.id or "", label="Session ID" })