diff --git a/cli/command/registry/login.go b/cli/command/registry/login.go index 894a85cdee..2bdf2ba494 100644 --- a/cli/command/registry/login.go +++ b/cli/command/registry/login.go @@ -183,11 +183,6 @@ func loginWithStoredCredentials(ctx context.Context, dockerCLI command.Cli, auth return response.Status, err } -// OauthLoginEscapeHatchEnvVar disables the browser-based OAuth login workflow. -// -// Deprecated: this const was only used internally and will be removed in the next release. -const OauthLoginEscapeHatchEnvVar = "DOCKER_CLI_DISABLE_OAUTH_LOGIN" - const oauthLoginEscapeHatchEnvVar = "DOCKER_CLI_DISABLE_OAUTH_LOGIN" func isOauthLoginDisabled() bool {