Class App\Http\Controllers\Auth\Auth\ForgotPasswordController does not exist

Posted 1 month ago by irankhosravi

I use laravel 5.8 and I did make:auth and copy in web.php

web.php

Route::namespace('Auth')->group(function (){
    Route::get('login', '[email protected]')->name('login');
    Route::post('login', '[email protected]');
    Route::post('logout', '[email protected]')->name('logout');

    if ($options['register'] ?? true) {
        Route::get('register', '[email protected]')->name('register');
        Route::post('register', '[email protected]');
    }

    if ($options['reset'] ?? true) {
        Route::resetPassword();
    }

    if ($options['verify'] ?? false) {
        Route::emailVerification();
    }
});

But I get this error

Class App\Http\Controllers\Auth\Auth\ForgotPasswordController does not exist

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.