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.2] Add authenticate method to the guards #13651

Merged
merged 4 commits into from
May 23, 2016

Conversation

JosephSilber
Copy link
Member

@JosephSilber JosephSilber commented May 22, 2016

...which will throw an exception if the user is not logged in.

This also updates the Authorize middleware with a call to authenticate, so that it returns a proper 401 if the user is not logged in.

@JosephSilber JosephSilber force-pushed the authenticate branch 7 times, most recently from 2e81183 to 8d9f92a Compare May 23, 2016 01:01
@GrahamCampbell GrahamCampbell changed the title Add authenticate method to the guards [5.2] Add authenticate method to the guards May 23, 2016
@taylorotwell taylorotwell merged commit 16def48 into laravel:5.2 May 23, 2016
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.

2 participants