diff --git a/pkg/config/profile.go b/pkg/config/profile.go index 52051b86..c8cbc548 100644 --- a/pkg/config/profile.go +++ b/pkg/config/profile.go @@ -63,9 +63,8 @@ func (p *Profile) CreateProfile() error { // Remove all keys under existing profile first v := p.deleteProfile(viper.GetViper()) - if err := p.deleteLivemodeValue(LiveModeAPIKeyName); err != nil { - return err - } + // Fail open to avoid blocking login + p.deleteLivemodeValue(LiveModeAPIKeyName) writeErr := p.writeProfile(v) if writeErr != nil {