Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions internal/account-api/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ func NewApi(ctx context.Context) (*Client, error) {
password := os.Getenv("SHOPWARE_CLI_ACCOUNT_PASSWORD")

if email != "" && password != "" {
logging.FromContext(ctx).Warnf("authentication with username/password is deprecated and will be removed in future. Please switch to OAuth2 client credentials, see https://developer.shopware.com/docs/products/cli/shopware-account-commands/authentication.html")
return loginWithCredentials(ctx, email, password)
}

Expand Down