Merge pull request #5552 from thaJeztah/27.x_backport_fix_ConfigureAuth_deprecation

This commit is contained in:
Laura Brehm
2024-10-21 16:42:49 +01:00
committed by GitHub
+2 -1
View File
@@ -87,7 +87,8 @@ func GetDefaultAuthConfig(cfg *configfile.ConfigFile, checkCredStore bool, serve
}
// ConfigureAuth handles prompting of user's username and password if needed.
// Deprecated: use PromptUserForCredentials instead.
//
// Deprecated: use [PromptUserForCredentials] instead.
func ConfigureAuth(ctx context.Context, cli Cli, flUser, flPassword string, authConfig *registrytypes.AuthConfig, _ bool) error {
defaultUsername := authConfig.Username
serverAddress := authConfig.ServerAddress