Skip to content

Modify method on route logout in security.rst #18838

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

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

rschillinger
Copy link
Contributor

There is an error regarding the method of the logout route in the controller.

@javiereguiluz
Copy link
Member

Good catch! Thanks and congrats on your first Symfony Docs contribution 🎉

@xabbuh
Copy link
Member

xabbuh commented Sep 7, 2023

What is the reason for this change (we recently made this in #18353)? And why only doing this for one config format?

@javiereguiluz
Copy link
Member

I merged this because, if I'm right, there's no need for the logout route to be POST. It can be a normal GET request. I also checked the Symfony Demo app and we use a GET there.

I forgot about the other config formats. I'll do the changes and commit it directly.

@javiereguiluz
Copy link
Member

The other config formats have been updated in 0453493

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants