1
0
mirror of https://git.sr.ht/~tsileo/microblog.pub synced 2025-06-05 21:59:23 +02:00

Tweak error wording

This commit is contained in:
Thomas Sileo
2022-09-16 18:37:09 +02:00
parent b99552384c
commit 9093659b0a
2 changed files with 2 additions and 2 deletions

View File

@ -213,6 +213,6 @@ def verify_csrf_token(
logger.exception("Failed to verify CSRF token")
raise HTTPException(
status_code=403,
detail=f"The security token expired, {please_try_again}",
detail=f"The security token has expired, {please_try_again}",
)
return None