Browse Source

验证码

linwu 2 năm trước cách đây
mục cha
commit
fae5d92248
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      app/mobile/controller/Login.php

+ 2 - 2
app/mobile/controller/Login.php

@@ -166,12 +166,12 @@ class Login
     public function mobilePost()
     {
         $mobile = input('mobile/s', '');
-        /*$verify = input('verify/s', '');
+        $verify = input('verify/s', '');
 
         $session_verify = session('verify');
         if ($verify != $session_verify) {
             page_result(1, '验证码错误!');
-        }*/
+        }
 
         $auth = UserAuthsModel::where(['identitytype' => 'mobile', 'identifier' => $mobile])->find();
         if (empty($auth)) {