liquid_feedback_frontend
annotate app/main/index/_action/logout.lua @ 292:44f9a09ea51c
Changed colors again, fixed language setting handling for Core 2.0
author | bsw |
---|---|
date | Sat Feb 25 17:34:51 2012 +0100 (2012-02-25) |
parents | c587d8762e62 |
children | 32cc544d5a5b |
rev | line source |
---|---|
bsw/jbe@0 | 1 if app.session then |
bsw/jbe@0 | 2 app.session:destroy() |
bsw/jbe@0 | 3 slot.put_into("notice", _"Logout successful") |
bsw@286 | 4 if config.etherpad then |
bsw@286 | 5 request.set_cookie{ |
bsw@286 | 6 path = config.etherpad.cookie_path, |
bsw@286 | 7 name = "sessionID", |
bsw@286 | 8 value = "invalid" |
bsw@286 | 9 } |
bsw@286 | 10 end |
bsw/jbe@0 | 11 end |