Closed BlogProgWEB closed 4 years ago
Maybe this is not a wrong, and I didn't read something in the documentation or did I do it wrong?
Docs are missing this:
Fortify::resetPasswordView(function ($request) {
return view('admin.auth.reset-password', ['request' => $request]);
});
I'll send in a PR. Thanks.
Description:
Undefined variable: request in
reset-password.blade.php
when I override viewforgot-password
Steps To Reproduce:
Clean installation Laravel Framework 8.4.0 without any auth scaffolding.
Db migration and seed - it's ok!
Then:
composer require laravel/fortify
and php artisan vendor:publish...
php artisan migrate
It's ok!
Created in
FortifyServiceProvider
inboot()
:And created views in
view/admin/auth
folder:forgot-password.blade.php
reset-password.blade.php
Then in browser
/forgot-password
Send Password Reset LinkFrom mail go to link
/reset-password/543c9a...hash?email=admin%40example.com
I get
It also doesn't work if I am using
Jetstream
and want to override the viewforgot-password
inJetstreamServiceProvider
inboot()
and sets any folder.Even if I only specify this, I will not change anything else from a clean install (liveware).