lint.
[Plinn.git] / Products / Plinn / skins / custom_control / logout.py
1 ## Script (Python) "logout"
2 ##title=Logout handler
3 ##parameters=ajax=''
4 REQUEST = context.REQUEST
5 if REQUEST.has_key('portal_skin'):
6 context.portal_skins.clearSkinCookie()
7 REQUEST.RESPONSE.expireCookie('__ac', path='/')
8 return REQUEST.RESPONSE.redirect(REQUEST.URL1+'/logged_out')