匹配前端,密码为6-30位

Signed-off-by: 御宅男(YznCMS官方) <530765310@qq.com>
pull/495/head
御宅男(YznCMS官方) 2025-05-20 01:47:34 +00:00 committed by Gitee
parent 62c5acc2d4
commit 572861fc71
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class Index extends Backend
$token = $this->request->post('__token__'); $token = $this->request->post('__token__');
$rule = [ $rule = [
'username' => 'require|length:3,30', 'username' => 'require|length:3,30',
'password' => 'require|length:3,30', 'password' => 'require|length:6,30',
'__token__' => 'require|token', '__token__' => 'require|token',
]; ];
$data = [ $data = [