Im stuck with this problem and cant find the solution. looking for some orientation. Im developing a new proyect with laravel, currently working on user athentication. Im using laravels 5.8 authentication module.
Did some minor changes to the password recovery views, moved reset.blade.php and email.blade.php out of the passwords directory, into the auth parent directory.
here is the current directory screenshot
After that changed the routes to match the previous changes directly on Router.php;
> $this->get('reset','Auth\ForgotPasswordController@showLinkRequestForm')->name('password.request');
> $this->post('email', 'Auth\ForgotPasswordController@sendResetLinkEmail')->name('password.email');
> $this->get('reset/{token}', 'Auth\ResetPasswordController@showResetForm')->name('password.reset');
> $this->post('reset', 'Auth\ResetPasswordController@reset')->name('password.update');
The routing is working correctly, but still keep getting this error "InvalidArgumentException - Password resetter [users] is not defined." on
vendor\laravel\framework\src\Illuminate\Auth\Passwords\PasswordBrokerManager.php
> protected function resolve($name)
> {
> $config = $this->getConfig($name);
>
> if (is_null($config)) {
> throw new InvalidArgumentException("Password resetter [{$name}] is not defined.");
> }
>
> // The password broker uses a token repository to validate tokens and send user
> // password e-mails, as well as validating that password reset process as an
> // aggregate service of sorts providing a convenient interface for resets.
> return new PasswordBroker(
> $this->createTokenRepository($config),
> $this->app['auth']->createUserProvider($config['provider'] ?? null)
> );
> }
Thanks!
Still have the problem, no luck with the fix.