controllers/RecoveryController.php
public function actionRecoverPassword()
	{
		$model = new AccountRecoverPasswordForm();

		if ($model->load(Yii::$app->request->post())) {
			if ($model->validate()) {
				$model->recoverPassword();
			}
		}

		return $this->render('recoverPassword', ['model' => $model]);
	}
public function actionRecoverPassword()
	{
		$model = new AccountRecoverPasswordForm();

		if ($model->load(Yii::$app->request->post())) {
			if ($model->validate()) {
				$model->recoverPassword();
			}
		}

		return $this->render('recoverPassword', ['model' => $model]);
	}
Sends password recovery mail to the user

@return string