Skip to content

Commit

Permalink
Merge pull request KelvinTegelaar#2836 from JohnDuprey/dev
Browse files Browse the repository at this point in the history
Fix reset MFA
  • Loading branch information
JohnDuprey authored Aug 19, 2024
2 parents aaa50b9 + 3e7c14b commit 3042dd4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/views/identity/administration/Users.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
},
{
label: 'Rerequire MFA registration',
link: entraLink,
color: 'info',
target: '_blank',
external: true,
modal: true,
modalUrl: `/api/ExecResetMFA?TenantFilter=${tenant.defaultDomainName}&ID=${row.userPrincipalName}`,
modalMessage: 'Are you sure you want to reset MFA for this user?',
},
{
label: 'Send MFA Push',
Expand Down Expand Up @@ -527,8 +527,8 @@ const Users = (row) => {
{
label: 'Rerequire MFA registration',
modal: true,
modalUrl: `/api/ExecResetMFA?TenantFilter=!Tenant&ID=!id`,
modalMessage: 'Are you sure you want to enable MFA for these users?',
modalUrl: `/api/ExecResetMFA?TenantFilter=!Tenant&ID=!userPrincipalName`,
modalMessage: 'Are you sure you want to reset MFA for these users?',
},
{
label: 'Set Per-User MFA',
Expand Down

0 comments on commit 3042dd4

Please sign in to comment.