Merge branch 'master' of https://gitlab.com/ollyhearn/queueful
This commit is contained in:
@ -175,7 +175,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)
|
||||
|
||||
Reference in New Issue
Block a user