refactor: update use of LoginPassword

This commit is contained in:
Derrick Hammer 2024-02-13 19:58:00 -05:00
parent 9b748e1f57
commit 2d3b755cb2
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ func (h *HttpHandler) login(jc jape.Context) {
return 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 { if err != nil {
return return
} }