后台处理密码长度问题

This commit is contained in:
evoxwht 2023-05-16 14:51:59 +08:00
parent 5d376c4c10
commit 315569d6fd

View File

@ -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);