fix

parent 5e488172
......@@ -454,7 +454,7 @@ class User extends \common\components\ActiveRecordModel implements IdentityInter
public function sendPassword()
{
return Yii::$app->mailer->compose(['html' => 'sendNewPaaword-html', 'text' => 'sendNewPaaword-text'], ['user' => $this])
return Yii::$app->mailer->compose(['html' => 'sendNewPassword-html', 'text' => 'sendNewPassword-text'], ['user' => $this])
->setFrom(Settings::getValue('content-support-email'))
->setTo($this->email)
->setSubject('Данные для входа')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment