|
|
@@ -868,8 +868,10 @@ class DeclarationForm extends Model
|
|
|
return false;
|
|
|
}
|
|
|
if($result = $userForm->add()){
|
|
|
+ $message = \Yii::t('app', 'decRegistrationEmailContent', ['userName' => $this->insertUserName, 'passWord' => $this->password]);
|
|
|
//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');
|
|
|
|
|
|
return $result;
|
|
|
} else {
|