fix(i18n): return French error messages in auth, register, download endpoints
All checks were successful
Deploy to Production / Build and Deploy (push) Successful in 2m44s

This commit is contained in:
2026-06-14 18:13:41 +02:00
parent 45e44dd7b2
commit f05399aeba
4 changed files with 24 additions and 24 deletions

View File

@@ -137,7 +137,7 @@ async def require_admin(authorization: Optional[str] = Header(None)) -> str:
)
token = parts[1]
if not verify_admin_token(token):
raise HTTPException(status_code=401, detail="Invalid or expired token")
raise HTTPException(status_code=401, detail="Token invalide ou expiré")
return ADMIN_USERNAME