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

[5.6] Use 403 status code for InvalidSignatureException #23662

Merged
merged 1 commit into from
Mar 22, 2018

Conversation

tillkruss
Copy link
Collaborator

@tillkruss tillkruss commented Mar 22, 2018

401 usually refers to authentication, no authorization — so 403 is more appropriate in this case.

This means that the InvalidSignatureException would automatically render the resources/views/errors/403.blade.php template.

@taylorotwell taylorotwell merged commit b6fc316 into laravel:5.6 Mar 22, 2018
@afraca
Copy link
Contributor

afraca commented Mar 26, 2018

This is breaking change btw. Clients behave on status code all the time.

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.

None yet

3 participants