Skip to content

Commit

Permalink
hotfix: fix error token in login-without-password
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenphuvinhtoan committed Feb 7, 2025
1 parent 736cc42 commit 1915c1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/codelight/internal_api/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def post(self):

token = AccountService.login(account, ip_address=extract_remote_ip(request))

return {"result": "success", "data": token}
return {"result": "success", "data": token.access_token}


api.add_resource(CodelightLoginWithoutPasswordApi, "/login-without-password")

0 comments on commit 1915c1c

Please sign in to comment.