update application/admin/controller/Index.php.

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

Signed-off-by: 御宅男(YznCMS官方) <530765310@qq.com>
pull/494/head
御宅男(YznCMS官方) 2025-05-19 03:01:07 +00:00 committed by Gitee
parent 6361d9228f
commit 3d27dace2e
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__');
$rule = [
'username' => 'require|length:3,30',
'password' => 'require|length:3,30',
'password' => 'require|length:6,30',
'__token__' => 'require|token',
];
$data = [