mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
silence lint warning
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
parent
0da12ef47b
commit
ea898ed104
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue