Commit 10b56a4a authored by Valentin Samir's avatar Valentin Samir
Browse files

[wiki/auth/cas] Redirection vers la page courante si tentative de login inutile

parent bd4bc8ba
......@@ -128,6 +128,8 @@ class CASAuth(BaseAuth):
# authenticated user
if not force and user_obj and user_obj.valid:
if self.action == action:
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