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

This commit is contained in:
Valentin Samir 2013-06-11 11:31:50 +02:00
parent bd4bc8ba1b
commit 10b56a4a3e

View file

@ -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':