From 2d3b755cb28e8a06380883a68fe1233cf323fe25 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 13 Feb 2024 19:58:00 -0500 Subject: [PATCH] refactor: update use of LoginPassword --- api/account/http.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/account/http.go b/api/account/http.go index 26dbc82..4178acc 100644 --- a/api/account/http.go +++ b/api/account/http.go @@ -49,7 +49,7 @@ func (h *HttpHandler) login(jc jape.Context) { return } - jwt, _, err := h.accounts.LoginPassword(request.Email, request.Password) + jwt, _, err := h.accounts.LoginPassword(request.Email, request.Password, jc.Request.RemoteAddr) if err != nil { return }