webmcp

annotate demo-app/app/main/index/_action/logout.lua @ 234:36346c33a020

Added level to error() call for setting global variables in mcp.lua
author jbe
date Sat Feb 28 23:34:51 2015 +0100 (2015-02-28)
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