File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
app/Http/Controllers/Auth Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 33namespace App \Http \Controllers \Auth ;
44
55use App \Http \Controllers \Controller ;
6- use Illuminate \Auth \Events \Verified ;
76use Illuminate \Foundation \Auth \EmailVerificationRequest ;
87use Illuminate \Http \RedirectResponse ;
98
@@ -18,12 +17,7 @@ public function __invoke(EmailVerificationRequest $request): RedirectResponse
1817 return redirect ()->intended (route ('dashboard ' , absolute: false ).'?verified=1 ' );
1918 }
2019
21- if ($ request ->user ()->markEmailAsVerified ()) {
22- /** @var \Illuminate\Contracts\Auth\MustVerifyEmail $user */
23- $ user = $ request ->user ();
24-
25- event (new Verified ($ user ));
26- }
20+ $ request ->fulfill ();
2721
2822 return redirect ()->intended (route ('dashboard ' , absolute: false ).'?verified=1 ' );
2923 }
You can’t perform that action at this time.
0 commit comments