| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 62 | public function sendResetPasswordMail(string $to, string $token) |
||
| 63 | { |
||
| 64 | $url = $this->container->getRequest()->getBaseUrl(); |
||
| 65 | $url .= "password/reset/get?token=".$token; |
||
| 66 | |||
| 67 | $message = "<a href=\"".$url."\">Define new password</a>"; |
||
| 68 | |||
| 69 | $this->send($to, "Define Password", $message ); |
||
| 70 | |||
| 72 | } |