Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | public function sendForgotPasswordCode(User $user, $languageCode) |
||
25 | { |
||
26 | Lang::setLocale($languageCode); |
||
27 | |||
28 | $sendMail = new SendMail( |
||
29 | $user->email, |
||
30 | Lang::get('forgot.subject'), |
||
31 | 'emails.forgot', |
||
32 | [ |
||
33 | 'name' => $user->name, |
||
34 | 'forgot_code' => $user->forgot_code |
||
35 | ] |
||
36 | ); |
||
37 | |||
38 | Queue::push(new SendMailJob($sendMail)); |
||
39 | } |
||
87 |