| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | public function store(Request $request): RedirectResponse |
||
| 16 | { |
||
| 17 | if ($request->user()->hasVerifiedEmail()) { |
||
| 18 | return redirect()->intended(RouteServiceProvider::HOME); |
||
| 19 | } |
||
| 20 | |||
| 21 | $request->user()->sendEmailVerificationNotification(); |
||
| 22 | |||
| 23 | return back()->with('status', 'verification-link-sent'); |
||
| 24 | } |
||
| 26 |