diff --git a/internal/api/handler/prosody_hdl.go b/internal/api/handler/prosody_hdl.go index 84f39dd..f8fd86c 100644 --- a/internal/api/handler/prosody_hdl.go +++ b/internal/api/handler/prosody_hdl.go @@ -33,6 +33,7 @@ func (handler ProsodyHandler) Post(c *fiber.Ctx) error { return RenderError(c, fmt.Errorf(" c.BodyParser(&req): %w", err), defaultErrMessage) } log.Println("request ip", c.IP()) + log.Println("c.IPs()", c.IPs()) req.CurrentPassword = c.FormValue("current_password") req.NewPassword = c.FormValue("new_password") if err := handler.prosodyService.ChangePassword(req.User, req.CurrentPassword, req.NewPassword); err != nil {