diff --git a/src/OutlookAddin/Services/AddInHost.cs b/src/OutlookAddin/Services/AddInHost.cs index 665a8c6..4552280 100644 --- a/src/OutlookAddin/Services/AddInHost.cs +++ b/src/OutlookAddin/Services/AddInHost.cs @@ -284,9 +284,9 @@ namespace OutlookAddin.Services DisposeCrmStack(); var creds = CredentialStore.Load(); - if (creds == null || string.IsNullOrWhiteSpace(creds.Username) || string.IsNullOrWhiteSpace(creds.ApiKey)) + if (creds == null || string.IsNullOrWhiteSpace(creds.ApiKey)) { - Logger.Information("AddInHost: no stored credentials — CRM features disabled until first-run setup"); + Logger.Information("AddInHost: no stored API key — CRM features disabled until first-run setup"); CrmClientChanged?.Invoke(this, EventArgs.Empty); return; }