Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Merge pull request #301 from meower-media/develop
Browse files Browse the repository at this point in the history
Fix last pr
  • Loading branch information
tnix100 authored Sep 1, 2024
2 parents ac10cdf + 91c07b3 commit b163006
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rest_api/v0/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async def login(data: AuthRequest):
return {
"error": False,
"account": security.get_account(account['_id'], True),
"token": security.create_user_token(account['_id'], request.ip, used_token=data.password)
"token": security.create_user_token(account['_id'], request.ip)
}, 200

@auth_bp.post("/register")
Expand Down

0 comments on commit b163006

Please sign in to comment.