pull/3569/head
Oleg Lobanov 2024-12-16 21:58:55 +01:00
parent 010c1fd658
commit c914503518
No known key found for this signature in database
1 changed files with 0 additions and 1 deletions

View File

@ -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 {