Jelajahi Sumber

wesmiler ECY 画画交易平台

APPLE 3 tahun lalu
induk
melakukan
880034c369
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      application/cmgadm/controller/Index.php

+ 1 - 0
application/cmgadm/controller/Index.php

@@ -89,6 +89,7 @@ class Index extends Backend
             $googleBind = isset($admin['google_bind'])? $admin['google_bind'] : 0;
             if ($googleVerify && $googleBind==1) {
                 $rule['google_code'] = 'require';
+                $data['google_code'] = $this->request->post('google_code');
             }
             $validate = new Validate($rule, [], ['username' => __('Username'), 'password' => __('Password'), 'captcha' => __('Captcha'),'google_code'=>'谷歌验证码']);
             $result = $validate->check($data);