|
@@ -515,7 +515,7 @@ class User extends Api
|
|
|
if ($mobile == $user->mobile) {
|
|
|
$this->error('手机号没有改变');
|
|
|
}
|
|
|
- $result = Sms::check($user->mobile, $code, 'changemobile');
|
|
|
+ $result = Sms::check($user->mobile, $code, 'changeyuanmobile');
|
|
|
if (!$result) {
|
|
|
$this->error(__('Captcha is incorrect'));
|
|
|
}
|