webmcp

view demo-app/app/main/index/_action/logout.lua @ 276:bac6cbdeb055

Bugfix in request.redirect{...}: allow params to be nil
author jbe
date Sat Mar 21 16:38:50 2015 +0100 (2015-03-21)
parents 9fdfb27f8e67
children
line source
1 if app.session then
2 app.session:destroy()
3 slot.put_into("notice", _"Logout successful")
4 end

Impressum / About Us