We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ 45-49 (lines=5) @@ | ||
42 | throw new AuthorizationException; |
|
43 | } |
|
44 | ||
45 | if ($request->user()->hasVerifiedEmail()) { |
|
46 | return $request->wantsJson() |
|
47 | ? new Response('', 204) |
|
48 | : redirect($this->redirectPath()); |
|
49 | } |
|
50 | ||
51 | if ($request->user()->markEmailAsVerified()) { |
|
52 | event(new Verified($request->user())); |
|
@@ 83-87 (lines=5) @@ | ||
80 | */ |
|
81 | public function resend(Request $request) |
|
82 | { |
|
83 | if ($request->user()->hasVerifiedEmail()) { |
|
84 | return $request->wantsJson() |
|
85 | ? new Response('', 204) |
|
86 | : redirect($this->redirectPath()); |
|
87 | } |
|
88 | ||
89 | $request->user()->sendEmailVerificationNotification(); |
|
90 |