From ea898ed104a09ce96cc6649effd024dcfe95df58 Mon Sep 17 00:00:00 2001 From: Nicola Murino Date: Sat, 4 May 2024 09:52:27 +0200 Subject: [PATCH] silence lint warning Signed-off-by: Nicola Murino --- internal/httpd/webclient.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/httpd/webclient.go b/internal/httpd/webclient.go index 6a1d018d..07ad7a37 100644 --- a/internal/httpd/webclient.go +++ b/internal/httpd/webclient.go @@ -1595,7 +1595,7 @@ func (s *httpdServer) handleWebClientChangePwd(w http.ResponseWriter, r *http.Re 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) err := r.ParseForm() if err != nil {