mirror of
https://github.com/minio/minio.git
synced 2025-11-09 13:39:46 -05:00
fix: remove deprecated LDAP username format support (#13165)
This commit is contained in:
@@ -23,6 +23,7 @@ import (
|
||||
|
||||
"github.com/minio/minio/internal/auth"
|
||||
"github.com/minio/minio/internal/config"
|
||||
"github.com/minio/minio/internal/logger"
|
||||
"github.com/minio/pkg/env"
|
||||
)
|
||||
|
||||
@@ -89,7 +90,10 @@ func Lookup(kvs config.KVS) (Config, error) {
|
||||
if err != nil {
|
||||
return Config{}, err
|
||||
}
|
||||
enabled, err := config.ParseBool(env.Get(EnvEnabled, "on"))
|
||||
if insecureSkipVerify {
|
||||
logger.Info("CRITICAL: enabling MINIO_IDENTITY_TLS_SKIP_VERIFY is not recommended in a production environment")
|
||||
}
|
||||
enabled, err := config.ParseBool(env.Get(EnvEnabled, config.EnableOn))
|
||||
if err != nil {
|
||||
return Config{}, err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user