liquid_feedback_frontend
diff app/main/index/_action/logout.lua @ 286:c587d8762e62
Registration process updated for Core 2.0, lockable member fields, notification settings
author | bsw |
---|---|
date | Sat Feb 25 11:51:37 2012 +0100 (2012-02-25) |
parents | 3bfb2fcf7ab9 |
children | 32cc544d5a5b |
line diff
1.1 --- a/app/main/index/_action/logout.lua Fri Feb 17 15:16:02 2012 +0100 1.2 +++ b/app/main/index/_action/logout.lua Sat Feb 25 11:51:37 2012 +0100 1.3 @@ -1,4 +1,11 @@ 1.4 if app.session then 1.5 app.session:destroy() 1.6 slot.put_into("notice", _"Logout successful") 1.7 + if config.etherpad then 1.8 + request.set_cookie{ 1.9 + path = config.etherpad.cookie_path, 1.10 + name = "sessionID", 1.11 + value = "invalid" 1.12 + } 1.13 + end 1.14 end