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

fix: Return 400 in logout view when user is not authenticated #633

Closed
wants to merge 1 commit into from

Conversation

vadimshvetsov
Copy link

Closes #439.

Currently LogoutView pretends from the code perspective to return 400 when user is not authenticated but since permission_classes is AllowAny it returns 200.

@vadimshvetsov vadimshvetsov closed this by deleting the head repository May 24, 2024
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.

Logout view returns 200 status code when no user is logged in
1 participant