Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
tnix100 authored Sep 1, 2024
1 parent 092c086 commit 91c07b3
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 91c07b3

Please sign in to comment.