🦺 更新验证码位数

This commit is contained in:
shufeng2012 committed 2026-07-27 19:16:27 +08:00
1 parent 8c74d93a76
commit 974c912d9e
1 file changed
+1 -1
+1 -1
View File
@@ -22,7 +22,7 @@ captchas: dict[str, list[str, str]] = {}
def send_email():
def build_captcha() -> str:
captcha: str = ""
for i in range(0,4):
for i in range(0,6):
digit: int = random.randint(0,9)
captcha += str(digit)
return captcha