From 8374ae83b837dcd2e88cccbe42db20fd5bf2ce30 Mon Sep 17 00:00:00 2001 From: zhaoqingang <zhaoqg0118@163.com> Date: 星期二, 17 十二月 2024 16:59:40 +0800 Subject: [PATCH] dify 文档智能 --- 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