webmcp

view demo-app/app/main/index/_action/logout.lua @ 285:aacddd07e471

encode.json{...} does not support atoms anymore but uses the JSON library
author jbe
date Sun Mar 22 02:09:49 2015 +0100 (2015-03-22)
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