| 1 | <?php |
||
| 11 | class PasswordResetRequestForm extends Model |
||
| 12 | { |
||
| 13 | public $email; |
||
| 14 | |||
| 15 | |||
| 16 | /** |
||
| 17 | * @inheritdoc |
||
| 18 | */ |
||
| 19 | 1 | public function rules() |
|
| 32 | |||
| 33 | /** |
||
| 34 | * Sends an email with a link, for resetting the password. |
||
| 35 | * |
||
| 36 | * @return bool whether the email was send |
||
| 37 | */ |
||
| 38 | 1 | public function sendEmail() |
|
| 61 | } |
||
| 62 |