Handle LOGOUT_URL=None in the logout view #56
No reviewers
Labels
No labels
documentation
Doing
Doing
Good first issue
To Do
To Do
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: DGNum/authens#56
Loading…
Reference in a new issue
No description provided.
Delete branch "kerl/issue20"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The view used to crash when
LOGOUT_URL
was not set and the user wasconnect via CAS.
Cause: we assumed the result of
LogoutView.get_next_page()
to be astring and tried to prepend the domain name of the site to it.
Fix: redirect to the CAS' logout view without any
next_page
parameter.Fixes #20
mentioned in issue #20
Je mettrai
next_page is not None
plitôt non ? Si jamais on veut passer""
comme prochaine urlchanged this line in version 2 of the diff
added 1 commit
7809a3c6
- Apply Tomate's suggestion: not x → x is not NoneCompare with previous version
Oui, très bon point 👍 j'ai corrigé
Oui, très bon point 👍 j'ai corrigé
resolved all threads
mentioned in commit
22b4d440c3