Skip to content

Added a theme file for the confirm password route that got added in #74

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

Conversation

joshbenham
Copy link
Contributor

Create a themed confirm.blade.php to suppose the password.confirm middleware that got added in Laravel 6.

To test this login to your Laravel 6 app and visit a page with that middleware registered.

Route::get('/test', function () {
    return view('welcome');
})->middleware('password.confirm');

This will block the given route until the correct password is entered.

confirm_password

Laravel 6.

To do a simple test you can login then create a route and visit it like:

Route::get('/test', function () {
    return view('welcome');
})->middleware('password.confirm');
@michaeldyrynda
Copy link
Contributor

Thanks, @joshbenham :)

@michaeldyrynda michaeldyrynda merged commit 5c4222c into laravel-frontend-presets:master Nov 30, 2019
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