From 083e5ce872dc74ab470342779205cc32f5f3691f Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Tue, 23 Sep 2025 21:31:43 +0200 Subject: [PATCH] cli/command/registry: remove deprecated OauthLoginEscapeHatchEnvVar This const was added in 846ecf59ffb555d615cf78fe4e4c43e71c9697b8, but only used internally; commit 18cdc25bb4675ff9555f221524572f97b706ab8b deprecated the const, which was included in the 28.4 release. This patch removes the exported const, as it's unused. Signed-off-by: Sebastiaan van Stijn --- cli/command/registry/login.go | 5 ----- 1 file changed, 5 deletions(-) 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 {