1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-10-12 05:54:18 -04:00

remove time based check in VMess MD5 decommission enforcement

This commit is contained in:
Shelikhoo 2022-01-02 15:06:47 +00:00
parent 25ae87aad2
commit 9f6c65eeef
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -380,11 +380,7 @@ func init() {
return common.CreateObject(ctx, fullConfig)
}))
defaultFlagValue := "NOT_DEFINED_AT_ALL"
if time.Now().Year() >= 2022 {
defaultFlagValue = "true_by_default_2022"
}
defaultFlagValue := "true_by_default_2022"
isAeadForced := platform.NewEnvFlag("v2ray.vmess.aead.forced").GetValue(func() string { return defaultFlagValue })
if isAeadForced == "true" {