refactor: update use of LoginPassword
This commit is contained in:
parent
9b748e1f57
commit
2d3b755cb2
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue