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

Suggestion for update to AuthRouteMethods #113

Merged
merged 1 commit into from
Jun 26, 2020

Conversation

brantmessenger
Copy link
Contributor

@brantmessenger brantmessenger commented Jun 26, 2020

I appreciate all the work you and the team are doing. When upgrading from Laravel >= 5.7 and now 6.x to 7.x some of the methods and classes have changed. I kept getting a login and logout conflict with our web routes. I had to dig down and find this reference. The $options attribute is a great way to turn on/off routes but it seems a little incomplete. There are so many more suggestion dealing with following existing controller method naming conventions, should the options be in an auth configuration, etc. but wanted to focus on a low hanging fruit (this use case).

Use case: Web route name "login" and "logout" is defined but still want to use auth routes "registration" and "reset". Was able to turn on/off everything except "login" and "logout" routes.

I could see this being implemented in a minor version without backwards compatibility issues. Please consider.

Thanks,
Brant

I appreciate all the work you and the team are doing. When upgrading from Laravel >= 5.7 and now 6.x to 7.x some of the methods and classes have changed. I kept getting a login and logout conflict with our web routes. I had to dig down and find this reference. The $options attribute is a great way to turn on/off routes but it seems a little incomplete. There are so many more suggestion dealing with following existing controller method naming conventions, should the options be in an auth configuration, etc. but wanted to focus on a low hanging fruit (this use case).

Use case: Web route name "login" and "logout" is defined but still want to use auth routes "registration" and "reset". Was able to turn on/off everything except "login" route.

I could see this being implemented in a minor version without backwards compatibility issues. Please consider.

Thanks,
Brant
@taylorotwell taylorotwell merged commit da51b0b into laravel:2.x Jun 26, 2020
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