Добавлена инфомарция по получателю для формы регистрации

This commit is contained in:
ErickSkrauch 2016-03-01 01:02:06 +03:00
parent 478acde42a
commit 7e2247ccb5

View File

@ -94,6 +94,7 @@ class RegistrationForm extends BaseApiForm {
'key' => $emailActivation->key, 'key' => $emailActivation->key,
] ]
) )
->setTo([$account->email => $account->username])
->setFrom([Yii::$app->params['fromEmail'] => 'Ely.by Accounts']) ->setFrom([Yii::$app->params['fromEmail'] => 'Ely.by Accounts'])
->setSubject('Ely.by Account registration'); ->setSubject('Ely.by Account registration');