Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use POST for logout requests #2502

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Use POST for logout requests #2502

merged 1 commit into from
Oct 5, 2024

Conversation

tienne-B
Copy link
Member

Using the GET method for logging out was deprecated in Django 4.1 and removed in 5.1. To retain styling, some modifications to the scss were needed, and a new CSRF middleware added to avoid an "Invalid" error on clicking the new buttons.

Fixes #2463

Using the GET method for logging out was deprecated in Django 4.1 and
removed in 5.1. To retain styling, some modifications to the scss were
needed, and a new CSRF middleware added to avoid an "Invalid" error on
clicking the new buttons.

Fixes #2463
@tienne-B tienne-B merged commit 26c50ec into develop Oct 5, 2024
4 checks passed
@tienne-B tienne-B deleted the bug/2463 branch October 5, 2024 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to log out of accounts
1 participant