|
@@ -868,7 +868,7 @@ class DeclarationForm extends Model
|
|
|
return false;
|
|
return false;
|
|
|
}
|
|
}
|
|
|
if($result = $userForm->add()){
|
|
if($result = $userForm->add()){
|
|
|
- $message = \Yii::t('app', 'decRegistrationEmailContent', ['userName' => $this->insertUserName, 'passWord' => $this->password]);
|
|
|
|
|
|
|
+ $message = \Yii::t('app', 'decRegistrationSmsContent', ['userName' => $this->insertUserName, 'passWord' => $this->password]);
|
|
|
//sms
|
|
//sms
|
|
|
// Sms::sendSMS($this->countryId, $this->mobile, 'Elken: hello AE', $user->ID, 'welcomePack');
|
|
// Sms::sendSMS($this->countryId, $this->mobile, 'Elken: hello AE', $user->ID, 'welcomePack');
|
|
|
Sms::sendSMS($this->countryId, '18511880790', $message, $user->ID, 'welcomePack');
|
|
Sms::sendSMS($this->countryId, '18511880790', $message, $user->ID, 'welcomePack');
|