|
@@ -54,9 +54,11 @@ class Auth
|
|
|
}
|
|
|
return $msg;
|
|
|
} else {
|
|
|
- $idcard = Dever::input('idcard');
|
|
|
- if ($user['idcard'] != $idcard) {
|
|
|
- Dever::alert('身份证号不正确');
|
|
|
+ if ($user['status'] == 1) {
|
|
|
+ $idcard = Dever::input('idcard');
|
|
|
+ if ($user['idcard'] != $idcard) {
|
|
|
+ Dever::alert('身份证号不正确');
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
Dever::load('option/lib/account')->checkMcode($mobile);
|