mirror of
https://github.com/openziti/desktop-edge-win.git
synced 2026-10-12 15:58:34 +00:00
Merge branch 'issue-312' of github.com:openziti/desktop-edge-win into issue-312
This commit is contained in:
@@ -894,6 +894,8 @@ namespace ZitiDesktopEdge {
|
||||
foreach (var id in ids) {
|
||||
IdentityItem idItem = new IdentityItem();
|
||||
|
||||
// Clint - I am going to put this back in until the MFA info is set before the ui load
|
||||
if (id.IsMFAEnabled && id.Services.Count > 0) id.MFAInfo.IsAuthenticated = true;
|
||||
idItem.ToggleStatus.IsEnabled = id.IsEnabled;
|
||||
if (id.IsEnabled) {
|
||||
idItem.ToggleStatus.Content = "ENABLED";
|
||||
|
||||
@@ -229,6 +229,8 @@ namespace ZitiDesktopEdge {
|
||||
this.OnError?.Invoke("Authentication Failed");
|
||||
this._executing = false;
|
||||
} else {
|
||||
MfaRecoveryCodesResponse codeResponse = await serviceClient.ReturnMFACodes(this._identity.Fingerprint, code);
|
||||
this._identity.MFAInfo.RecoveryCodes = codeResponse.Payload;
|
||||
this._identity.MFAInfo.IsAuthenticated = true;
|
||||
this.OnClose?.Invoke(true);
|
||||
this._executing = false;
|
||||
|
||||
Reference in New Issue
Block a user