wiki: j'aime perdre mon temps
This commit is contained in:
parent
7560f05a1e
commit
614452a323
1 changed files with 4 additions and 4 deletions
|
@ -128,10 +128,10 @@ class CASAuth(BaseAuth):
|
|||
session_service.destroy_session(request, session)
|
||||
|
||||
# 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 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':
|
||||
logoutRequest=request.form.get('logoutRequest', None)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue