From 91c07b36880110acd6549135742d391ef361f477 Mon Sep 17 00:00:00 2001 From: Tnix Date: Sun, 1 Sep 2024 14:21:57 +1200 Subject: [PATCH] Add files via upload --- rest_api/v0/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rest_api/v0/auth.py b/rest_api/v0/auth.py index ead9fc3..f7c9857 100644 --- a/rest_api/v0/auth.py +++ b/rest_api/v0/auth.py @@ -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")