Mercurial > p > roundup > code
view roundup/cgi/TAL/__init__.py @ 7068:bc06bad26872
Remove dead code for handling LogoutAction.
Dead code starts wih:
'''
# I think now that LogoutAction redirects to
# self.base ([tracker] web parameter in config.ini),
# this code is not needed. However I am keeping it
# around in case it has to come back to life.
# Delete if this is still around in 3/2018.
# rouilj 3/2017.
#
# Note using this code may cause a CSRF Login vulnerability.
# Handle the case where user logs out and tries to
# log in again in same window.
# The csrf token for the login button is associated
# with the prior login, so it will not validate.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 23 Nov 2022 22:25:34 -0500 |
| parents | 8c2402a78bb0 |
| children |
line wrap: on
line source
############################################################################## # # Copyright (c) 2001, 2002 Zope Corporation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS # FOR A PARTICULAR PURPOSE # ############################################################################## """ Template Attribute Language package """
