liquid_feedback_frontend

diff app/main/index/_action/login.lua @ 152:ccdf197b3f9b

add support for considering long not used accounts as broken
author Daniel Poelzleithner <poelzi@poelzi.org>
date Fri Oct 08 06:06:13 2010 +0200 (2010-10-08)
parents 768faea1096d
children f62c61bd912c
line diff
     1.1 --- a/app/main/index/_action/login.lua	Fri Oct 08 05:24:14 2010 +0200
     1.2 +++ b/app/main/index/_action/login.lua	Fri Oct 08 06:06:13 2010 +0200
     1.3 @@ -2,6 +2,7 @@
     1.4  
     1.5  if member then
     1.6    app.session.member = member
     1.7 +  db:query{ "UPDATE member SET last_login = now() WHERE id = ?", member.id }
     1.8    app.session:save()
     1.9    slot.select("notice", function()
    1.10      ui.tag{ content = _'Login successful!' }

Impressum / About Us