From b424ed9b355adc8559b9b59f82c8ef67c9287083 Mon Sep 17 00:00:00 2001 From: Billy Bao Date: Thu, 11 Dec 2025 17:01:57 +0800 Subject: [PATCH] remove unnecessary print --- api/apps/user_app.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/api/apps/user_app.py b/api/apps/user_app.py index 2411cd2e7..9285a6f5b 100644 --- a/api/apps/user_app.py +++ b/api/apps/user_app.py @@ -865,8 +865,6 @@ async def forget_get_captcha(): captcha_text = "".join(secrets.choice(allowed) for _ in range(OTP_LENGTH)) REDIS_CONN.set(captcha_key(email), captcha_text, 60) # Valid for 60 seconds - print("\n\nGenerated captcha:", captcha_text, "\n\n") - from captcha.image import ImageCaptcha image = ImageCaptcha(width=300, height=120, font_sizes=[50, 60, 70]) img_bytes = image.generate(captcha_text).read()