From c914503518b664c42070b2b06d33ae3b5798b45f Mon Sep 17 00:00:00 2001 From: Oleg Lobanov Date: Mon, 16 Dec 2024 21:58:55 +0100 Subject: [PATCH] Fix fmt --- auth/proxy.go | 1 - 1 file changed, 1 deletion(-) diff --git a/auth/proxy.go b/auth/proxy.go index c6d4fad1..9d140540 100644 --- a/auth/proxy.go +++ b/auth/proxy.go @@ -23,7 +23,6 @@ func (a ProxyAuth) Auth(r *http.Request, usr users.Store, setting *settings.Sett username := r.Header.Get(a.Header) user, err := usr.Get(srv.Root, username) if errors.Is(err, fbErrors.ErrNotExist) { - randomPasswordBytes := make([]byte, 32) //nolint:gomnd _, err = rand.Read(randomPasswordBytes) if err != nil {