diff --git a/internal/api/handler/prosody_hdl.go b/internal/api/handler/prosody_hdl.go index 1345c76..7c30a73 100644 --- a/internal/api/handler/prosody_hdl.go +++ b/internal/api/handler/prosody_hdl.go @@ -2,6 +2,7 @@ package handler import ( "fmt" + "log" "gitea.urkob.com/urko/prosody-password/internal/services/fail2ban" "gitea.urkob.com/urko/prosody-password/internal/services/prosody" @@ -27,6 +28,7 @@ type changePasswordReq struct { } func (handler ProsodyHandler) Post(c *fiber.Ctx) error { + log.Println("body", string(c.Body())) req := changePasswordReq{ CurrentPassword: c.FormValue("current_password", ""), NewPassword: c.FormValue("new_password", ""),