From cd8744be716365d72f6ebef8365b475d1802c0ea Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期三, 18 十二月 2024 14:09:55 +0800 Subject: [PATCH] menu_conf文件生成接口 --- app/service/auth.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/app/service/auth.py b/app/service/auth.py index 8c41fe9..86103fc 100644 --- a/app/service/auth.py +++ b/app/service/auth.py @@ -62,7 +62,7 @@ def is_valid_password(password: str) -> bool: - if len(password) <= 8: + if len(password) < 8: return False has_digit = re.search(r'[0-9]', password) has_letter = re.search(r'[A-Za-z]', password) -- Gitblit v1.8.0