public function afterValidate() { if (!$this->hasErrors()) { $this->sendEmail(); $this->success_message = Lang::t('Check this email ({email}) for instructions on how to get a new password.If you don\'t get email please check your spam and mark it as "not spam"', array('{email}' => $this->user_model->email)); } return parent::afterValidate(); }