add logs to body
This commit is contained in:
parent
3c9d40544c
commit
39977f68f0
|
@ -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", ""),
|
||||
|
|
Loading…
Reference in New Issue