diff options
author | Nathan Angelacos <nangel@tetrasec.net> | 2007-12-22 22:41:43 +0000 |
---|---|---|
committer | Nathan Angelacos <nangel@tetrasec.net> | 2007-12-22 22:41:43 +0000 |
commit | 60ef1fb4acc1788ce083f93c7d5e93ec67b2c157 (patch) | |
tree | 9b63fe55c4caa321d665578fe660c1f5a461b83f /app/acf-util | |
parent | 478ba3ce3d2f0f51e9867b82409d064b137c4479 (diff) | |
download | acf-core-60ef1fb4acc1788ce083f93c7d5e93ec67b2c157.tar.bz2 acf-core-60ef1fb4acc1788ce083f93c7d5e93ec67b2c157.tar.xz |
on logon, the session table actually gets saved
git-svn-id: svn://svn.alpinelinux.org/acf/core/trunk@451 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'app/acf-util')
-rw-r--r-- | app/acf-util/logon-controller.lua | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/acf-util/logon-controller.lua b/app/acf-util/logon-controller.lua index bdc2327..3661320 100644 --- a/app/acf-util/logon-controller.lua +++ b/app/acf-util/logon-controller.lua @@ -31,13 +31,12 @@ logon = function(self) userid.errtxt = "There was a problem logging in" else -- the login was successful - give them a new session, and redir to logged in - self.sessiondata.id = session.random_hash ( 512) - self.sessiondata.userinfo = t or {} + sessiondata.id = session.random_hash ( 512) + sessiondata.userinfo = t or {} self.conf.prefix="/" self.conf.controller="welcome" self.conf.action = "read" self.conf.type = "redir" - logevent ("Logon was successful for " .. self.sessiondata.userinfo.username or "" ) error (self.conf) end end |