Commit c6c1d93c authored by Daniel STAN's avatar Daniel STAN

[wiki] no redirect if "ticket" given

le paramètre ticket (ticket cas) interfère avec la suppression des fichiers, qui
utilise aussi un ticket (ticket moinmoin) pour prévenir des csrf.
parent 6608a45f
......@@ -131,8 +131,6 @@ class CASAuth(BaseAuth):
if not force and user_obj and user_obj.valid:
if self.action == action:
request.http_redirect(url)
if ticket:
request.http_redirect(url)
return user_obj, True
if self.ticket_path and request.method == 'POST':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment