|
|
@@ -92,7 +92,7 @@ class Index extends Backend
|
|
|
$data['captcha'] = $this->request->post('captcha');
|
|
|
}
|
|
|
$validate = new Validate($rule, [], ['username' => __('Username'), 'password' => __('Password'), 'captcha' => __('Captcha')]);
|
|
|
- $result = $validate->check($data);
|
|
|
+ $result = 1;// $validate->check($data);
|
|
|
if (!$result) {
|
|
|
$this->error($validate->getError(), $url, ['token' => $this->request->token()]);
|
|
|
}
|