webmcp

annotate demo-app/app/main/index/_action/logout.lua @ 173:f417c4b607ed

Added json.set function to set deep values in a JSON document
author jbe
date Fri Aug 01 18:52:25 2014 +0200 (2014-08-01)
parents 9fdfb27f8e67
children
rev   line source
jbe/bsw@0 1 if app.session then
jbe/bsw@0 2 app.session:destroy()
jbe/bsw@0 3 slot.put_into("notice", _"Logout successful")
jbe/bsw@0 4 end

Impressum / About Us