Fix request logging

This commit is contained in:
eater 2019-08-05 23:28:58 +02:00
parent d324b44cf1
commit 0edaf01f53
Signed by: eater
GPG key ID: 656785D50BE51C0A

View file

@ -182,7 +182,7 @@ func (it *httpServer) verifyRequest(r *http.Request, v interface{}) (error) {
return err
}
log.Printf("req: %s", all)
log.Printf("req: %s", ioutil.ReadAll(r.Body))
encPasswordAndIV := all[:256]
encBody := all[256:]