Implement password updating

This commit is contained in:
april
2024-01-05 17:03:56 -06:00
parent 403ce0d9bc
commit cabae55677
3 changed files with 36 additions and 12 deletions

View File

@@ -50,7 +50,7 @@ async def logout(user_token: (UserDisplaySchema, TokenSchema) = Depends(get_curr
user, token = user_token
# Blacklist token
blacklisted = tokens.blacklist_token(token)
blacklisted = await tokens.blacklist_token(token)
if not blacklisted:
logger.debug("Failed to add token to blacklist")