I found solution:
In App\Http\Middleware\RedirectIfAuthenticated
change
if (Auth::guard($guard)->check()) {
return redirect('/home');
}
to
if (Auth::guard($guard)->check()) {
return redirect('/');
}
In your auth.php configuration file, you may configure multiple password "brokers", which may be used to reset passwords on multiple user tables. You can customize the included ForgotPasswordController and ResetPasswordController to use the broker of your choice by overriding the broker method:
use Illuminate\Support\Facades\Password;
protected function broker() { return Password::broker('name'); }
By:Xtreem Solution
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community