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.7] Fix app stub when register route option is set to false #25582

Merged
merged 2 commits into from Sep 12, 2018
Merged

[5.7] Fix app stub when register route option is set to false #25582

merged 2 commits into from Sep 12, 2018

Conversation

JeroenBoesten
Copy link
Contributor

Fix the 'Route [register] not defined' in the app.blade.php that comes with the authentication scaffolding. This error occurs if the register => false option is issued wich has been added with #25556.

@GrahamCampbell GrahamCampbell changed the title Fix app stub when register route option is set to false [5.7] Fix app stub when register route option is set to false Sep 12, 2018
@taylorotwell taylorotwell merged commit a396a4c into laravel:5.7 Sep 12, 2018
@cssgeni3
Copy link

cssgeni3 commented Nov 6, 2018

When adding options Auth::routes(['register' => false]) in routes/web.php, the default welcome.blade.php should also be updated somehow to remove the 'register' url when options for 'register' are set to false.

welcome.blade.php:75 <a href="{{ route('register') }}">Register</a>

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