Would have broken non MFA Ids

This commit is contained in:
Jeremy Tellier - ROG
2021-03-22 15:56:42 +01:00
parent 3d5a916b1c
commit c5273df755
+1 -1
View File
@@ -880,7 +880,7 @@ namespace ZitiDesktopEdge {
MainMenu.IdentitiesButton.Visibility = Visibility.Visible;
foreach (var id in ids) {
/// Clint - This next line doesnt seem right, should that be filled from the service
if (id.Services.Count > 0) id.MFAInfo.IsAuthenticated = true;
if (id.IsMFAEnabled && id.Services.Count > 0) id.MFAInfo.IsAuthenticated = true;
IdentityItem idItem = new IdentityItem();
idItem.ToggleStatus.IsEnabled = id.IsEnabled;