user()->hasVerifiedEmail()) { return redirect()->intended( config('app.frontend_url').RouteServiceProvider::HOME.'?verified=1' ); } if ($request->user()->markEmailAsVerified()) { event(new Verified($request->user())); } return redirect()->intended( config('app.frontend_url').RouteServiceProvider::HOME.'?verified=1' ); } }