mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 22:40:48 +00:00
后台处理密码长度问题
This commit is contained in:
parent
5d376c4c10
commit
315569d6fd
@ -93,6 +93,10 @@ class Login extends AuthController
|
||||
['captchaType', '']
|
||||
], true);
|
||||
|
||||
if (count($password) > 32 || count($password) < 6) {
|
||||
return app('json')->fail(400762);
|
||||
}
|
||||
|
||||
if ($captchaVerification != '') {
|
||||
try {
|
||||
aj_captcha_check_two($captchaType, $captchaVerification);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user