mardi 2 octobre 2018

Laravel 5.7 Class App\Http\Controllers\Auth\SendsPasswordResetEmails does not exist

I'm trying to implement the reset password function using the built-in function from Laravel 5.7 as i have defined my routes in my web.php. I tried running php artisan route:list , It gave me an exception

ReflectionException : Class App\Http\Controllers\Auth\SendsPasswordResetEmails does not exist

and the Exeception trace are

ReflectionClass::__construct("App\Http\Controllers\Auth\SendsPasswordResetEmails") C:\xampp\htdocs\PMS\vendor\laravel\framework\src\Illuminate\Container\Container.php:767

Illuminate\Container\Container::build("App\Http\Controllers\Auth\SendsPasswordResetEmails") C:\xampp\htdocs\PMS\vendor\laravel\framework\src\Illuminate\Container\Container.php:646

Anybody is able to tell me what am i doing wrong? Thanks

web.php

Route::get('password/reset/{token?}','Auth\SendsPasswordResetEmails@showLinkRequestForm'); Route::post('password/email}','Auth\SendsPasswordResetEmails@sendResetLinkEmail'); Route::post('password/reset','Auth\ResetsPasswords@reset');



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire