diff --git a/backend/app/views/auth/services.py b/backend/app/views/auth/services.py index 112d7e6..409ce9a 100644 --- a/backend/app/views/auth/services.py +++ b/backend/app/views/auth/services.py @@ -171,7 +171,7 @@ def patch_anon_name( def get_captcha( captcha_id: uuid.UUID, db: Annotated[Session, Depends(get_db)] ) -> BytesIO: - prompt = "".join(random.choice(CAPTCHA_SYMBOLS) for i in range(6)) + prompt = "".join(random.choice(CAPTCHA_SYMBOLS) for i in range(4)) c = models.Captcha(id=captcha_id, prompt=prompt) try: db.add(c)