Skip to content

Commit

Permalink
Refactor user password reset confirmation message
Browse files Browse the repository at this point in the history
  • Loading branch information
kris6673 committed Aug 8, 2024
1 parent b5c8258 commit dc292ae
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/views/identity/administration/Users.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,8 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
color: 'info',
modal: true,
modalUrl: `/api/ExecResetPass?MustChange=true&TenantFilter=${tenant.defaultDomainName}&ID=${row.id}&displayName=${row.displayName}`,
modalMessage: 'Are you sure you want to reset the password for this user?',
modalMessage:
'Are you sure you want to reset the password for this user? The user must change their password at next logon.',
},
{
label: 'Reset Password',
Expand All @@ -285,11 +286,11 @@ const Offcanvas = (row, rowIndex, formatExtraData) => {
modalMessage: 'Are you sure you want to reset the password for this user?',
},
{
label: 'Preprovision OneDrive',
label: 'Pre-provision OneDrive',
color: 'info',
modal: true,
modalUrl: `/api/ExecOneDriveProvision?TenantFilter=${tenant.defaultDomainName}&UserPrincipalName=${row.userPrincipalName}`,
modalMessage: 'Are you sure you want to preprovision onedrive for this user??',
modalMessage: 'Are you sure you want to pre-provision OneDrive for this user??',
},
{
label: 'Clear ImmutableId',
Expand Down

0 comments on commit dc292ae

Please sign in to comment.