Regenerate DB migration script

This commit is contained in:
grossmj committed 2026-04-06 19:55:11 +08:00
1 parent b1852f7bcf
commit b07685666b
3 files changed
+25 -29

No files matched your search

@@ -58,7 +58,7 @@ async def get_user_from_token(
if token_data.token_version != user.token_version:
raise HTTPException(
status_code=status.HTTP_401_UNAUTHORIZED,
detail="Token has been revoked",
detail=f"Token has been revoked for '{token_data.username}'",
headers={"WWW-Authenticate": "Bearer"},
)
return user