| Conditions | 2 |
| Paths | 2 |
| Total Lines | 7 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | public function sendResetLinkEmail(Request $request) |
||
| 26 | { |
||
| 27 | $this->validateEmail($request); |
||
| 28 | |||
| 29 | return AuthService::forgot($request->input('email')) |
||
|
|
|||
| 30 | ? back()->with('status', 'We have e-mailed your password reset link!') |
||
| 31 | : back()->withErrors(['email' => 'We can\'t find a user with that e-mail address.']); |
||
| 32 | } |
||
| 33 | } |