webmcp

view demo-app/app/main/index/_action/logout.lua @ 111:43986d8dacf3

Better (and bugfixed) implementation of string truncating in format.string(...)
author jbe
date Mon Jan 13 21:37:23 2014 +0100 (2014-01-13)
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