Skip to content

Commit 3042dd4

Browse files
authored
Merge pull request #2836 from JohnDuprey/dev
Fix reset MFA
2 parents aaa50b9 + 3e7c14b commit 3042dd4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/views/identity/administration/Users.jsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
9999
},
100100
{
101101
label: 'Rerequire MFA registration',
102-
link: entraLink,
103102
color: 'info',
104-
target: '_blank',
105-
external: true,
103+
modal: true,
104+
modalUrl: `/api/ExecResetMFA?TenantFilter=${tenant.defaultDomainName}&ID=${row.userPrincipalName}`,
105+
modalMessage: 'Are you sure you want to reset MFA for this user?',
106106
},
107107
{
108108
label: 'Send MFA Push',
@@ -527,8 +527,8 @@ const Users = (row) => {
527527
{
528528
label: 'Rerequire MFA registration',
529529
modal: true,
530-
modalUrl: `/api/ExecResetMFA?TenantFilter=!Tenant&ID=!id`,
531-
modalMessage: 'Are you sure you want to enable MFA for these users?',
530+
modalUrl: `/api/ExecResetMFA?TenantFilter=!Tenant&ID=!userPrincipalName`,
531+
modalMessage: 'Are you sure you want to reset MFA for these users?',
532532
},
533533
{
534534
label: 'Set Per-User MFA',

0 commit comments

Comments
 (0)