zacksmash / fortify-ui

Laravel Fortify driven replacement to the Laravel UI package
https://github.com/zacksmash/fortify-ui
MIT License
240 stars 20 forks source link

following password reset link results in argument type error #33

Closed aaftre closed 1 month ago

aaftre commented 1 month ago

App\Providers\FortifyUIServiceProvider::App\Providers{closure}(): Argument #1 ($request) must be of type App\Providers\Request, Illuminate\Http\Request given

        Fortify::resetPasswordView(function (Request $request) {
            return view('auth.reset-password', ['request' => $request]);
        });

PHP 8.3.8 Laravel 11.2.0 "zacksmash/fortify-ui": "^2.0"

zacksmash commented 1 month ago

@aaftre Thanks for this! This is fixed in v2.0.1

aaftre commented 1 month ago

fixed by adding use Illuminate\Http\Request not sure if its in the install documentation or i missed it.

aaftre commented 1 month ago

@aaftre Thanks for this! This is fixed in v2.0.1

great! thank you!