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.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/acf-util/logon-controller.lua b/app/acf-util/logon-controller.lua
index f641d33..676736f 100644
--- a/app/acf-util/logon-controller.lua
+++ b/app/acf-util/logon-controller.lua
@@ -39,7 +39,7 @@ logon = function(self)
logevent ("Logon was successful for " .. session.userinfo.username or "" )
error (self.conf)
end
- else
+ end
-- If we reach this point, just give them the login page
return ( cfe ({type="form",
option={ script=ENV["SCRIPT_NAME"],
@@ -47,7 +47,6 @@ logon = function(self)
controller = self.conf.controller,
action = "logon" },
value = { userid, password, logon } }))
- end
end