cli/command/registry: remove deprecated OauthLoginEscapeHatchEnvVar
This const was added in846ecf59ff, but only used internally; commit18cdc25bb4deprecated 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 <github@gone.nl>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user