|
@@ -47,7 +47,7 @@ class Sms extends Api
|
|
} elseif (in_array($event, ['changemobile']) && $userinfo) {
|
|
} elseif (in_array($event, ['changemobile']) && $userinfo) {
|
|
//被占用
|
|
//被占用
|
|
$this->error(__('已被占用'));
|
|
$this->error(__('已被占用'));
|
|
- } elseif (in_array($event, ['changepwd', 'resetpwd', 'mobilelogin']) && !$userinfo) {
|
|
|
|
|
|
+ } elseif (in_array($event, ['changepwd', 'resetpwd', 'mobilelogin', 'changeyuanmobile']) && !$userinfo) {
|
|
//未注册
|
|
//未注册
|
|
$this->error(__('未注册'));
|
|
$this->error(__('未注册'));
|
|
}
|
|
}
|