Open Majestio opened 3 years ago
Greetings!
Thank you for the project and the work done. Unfortunately, the password reset functionality does not work. An error is shown:
ErrorException Undefined variable: token (View: D:\Domains\laravel-fortify.tpl\laravel\resources\views\auth\reset-password.blade.php) ... Illuminate\Foundation\Bootstrap\HandleExceptions::handleError D:\Domains\laravel-fortify.tpl\laravel\resources\views/auth/reset-password.blade.php:14
<input type="hidden" name="token" value="{{ $token }}">
If this line is deleted, then the error is not displayed, but the new password is not saved either. Please fix this.
WBR, Oleg
The solution was found. Spied on in another repository. You need to replace the line with this one:
<input type="hidden" name="token" value="{{ request()->route('token') }}">
Greetings!
Thank you for the project and the work done. Unfortunately, the password reset functionality does not work. An error is shown:
ErrorException Undefined variable: token (View: D:\Domains\laravel-fortify.tpl\laravel\resources\views\auth\reset-password.blade.php) ... Illuminate\Foundation\Bootstrap\HandleExceptions::handleError D:\Domains\laravel-fortify.tpl\laravel\resources\views/auth/reset-password.blade.php:14
If this line is deleted, then the error is not displayed, but the new password is not saved either. Please fix this.
WBR, Oleg