aboutsummaryrefslogtreecommitdiffhomepage
path: root/modules/caddyhttp/caddyauth/basicauth.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/caddyhttp/caddyauth/basicauth.go')
-rw-r--r--modules/caddyhttp/caddyauth/basicauth.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/caddyhttp/caddyauth/basicauth.go b/modules/caddyhttp/caddyauth/basicauth.go
index f515a72c6..6cd38a577 100644
--- a/modules/caddyhttp/caddyauth/basicauth.go
+++ b/modules/caddyhttp/caddyauth/basicauth.go
@@ -23,7 +23,6 @@ import (
"net/http"
"strings"
"sync"
- "time"
"github.com/caddyserver/caddy/v2"
"golang.org/x/sync/singleflight"
@@ -31,8 +30,6 @@ import (
func init() {
caddy.RegisterModule(HTTPBasicAuth{})
-
- weakrand.Seed(time.Now().UnixNano())
}
// HTTPBasicAuth facilitates HTTP basic authentication.