liquid_feedback_frontend

view app/main/index/_action/logout.lua @ 1186:f01239f154a8

Added tag v3.0.6 for changeset fef745f9e22f
author jbe
date Thu Mar 26 21:31:10 2015 +0100 (2015-03-26)
parents c587d8762e62
children 32cc544d5a5b
line source
1 if app.session then
2 app.session:destroy()
3 slot.put_into("notice", _"Logout successful")
4 if config.etherpad then
5 request.set_cookie{
6 path = config.etherpad.cookie_path,
7 name = "sessionID",
8 value = "invalid"
9 }
10 end
11 end

Impressum / About Us