silence lint warning

Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
Nicola Murino 2024-05-04 09:52:27 +02:00
parent 0da12ef47b
commit ea898ed104
No known key found for this signature in database
GPG key ID: 935D2952DEC4EECF

View file

@ -1595,7 +1595,7 @@ func (s *httpdServer) handleWebClientChangePwd(w http.ResponseWriter, r *http.Re
s.renderClientChangePasswordPage(w, r, nil) s.renderClientChangePasswordPage(w, r, nil)
} }
func (s *httpdServer) handleWebClientProfilePost(w http.ResponseWriter, r *http.Request) { func (s *httpdServer) handleWebClientProfilePost(w http.ResponseWriter, r *http.Request) { //nolint:gocyclo
r.Body = http.MaxBytesReader(w, r.Body, maxRequestSize) r.Body = http.MaxBytesReader(w, r.Body, maxRequestSize)
err := r.ParseForm() err := r.ParseForm()
if err != nil { if err != nil {