From e6c5e89f09637b8d9ebca6895d781663f12646d6 Mon Sep 17 00:00:00 2001
From: zhaoqingang <zhaoqg0118@163.com>
Date: 星期二, 17 十二月 2024 16:43:55 +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