From 2dc4a7392eef26fdadd00fde1baf8b471ab25ca5 Mon Sep 17 00:00:00 2001 From: xuyonghao <898441624@qq.com> Date: 星期二, 17 十二月 2024 15:16:44 +0800 Subject: [PATCH] user_app表app补全注册接口 --- 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