diff --git a/Logic/Financial/FinancialAccount.cs b/Logic/Financial/FinancialAccount.cs index 55bf2fa0..a4cfc9a3 100644 --- a/Logic/Financial/FinancialAccount.cs +++ b/Logic/Financial/FinancialAccount.cs @@ -194,7 +194,7 @@ namespace Swarmops.Logic.Financial ExternalBankDataProfile oldProfile = ExternalBankDataProfileOldHack; ExternalBankDataProfile newProfile = AutomationProfile.BankDataProfile; - if (oldProfile != null && newProfile.Identity != oldProfile.Identity) + if (oldProfile != null && (newProfile.Identity != oldProfile.Identity || newProfile.Name != oldProfile.Name)) { throw new InvalidOperationException("Defensive programming for crucial part"); }