webmcp

view demo-app/app/main/index/_action/logout.lua @ 114:6c4a5b136074

allow access to cgi.post_data for usual requests
author jbe
date Mon Feb 10 20:52:21 2014 +0100 (2014-02-10)
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