|
|
@@ -13,8 +13,8 @@ class Email
|
|
|
*/
|
|
|
public static function sendRegistrationEmail(string $email, string $userName, string $password)
|
|
|
{
|
|
|
- $subject = \Yii::t('app', 'decRegistrationEmailSubject');
|
|
|
- $message = \Yii::t('app', 'decRegistrationEmailContent', ['userName' => $userName, 'passWord' => $password]);
|
|
|
+ $subject = \Yii::t('app', 'decRegistrationEmailSubject', [], 'en');
|
|
|
+ $message = \Yii::t('app', 'decRegistrationEmailContent', ['userName' => $userName, 'passWord' => $password], 'en');
|
|
|
|
|
|
$mailer = Yii::$app->mailer;
|
|
|
$mailer->useFileTransport = false;
|