From 8eaca1608acab3c60a951d6e4148345387644917 Mon Sep 17 00:00:00 2001 From: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com> Date: Thu, 3 Aug 2023 13:26:26 -0500 Subject: [PATCH] fix: update leftover reset password message, refs AC-1574 (#5934) --- .../components/member-dialog/member-dialog.component.ts | 4 ++-- apps/web/src/locales/en/messages.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/web/src/app/admin-console/organizations/members/components/member-dialog/member-dialog.component.ts b/apps/web/src/app/admin-console/organizations/members/components/member-dialog/member-dialog.component.ts index f449b7f206..d6c0f9ffc6 100644 --- a/apps/web/src/app/admin-console/organizations/members/components/member-dialog/member-dialog.component.ts +++ b/apps/web/src/app/admin-console/organizations/members/components/member-dialog/member-dialog.component.ts @@ -302,7 +302,7 @@ export class MemberDialogComponent implements OnInit, OnDestroy { } handleDependentPermissions() { - // Manage Password Reset must have Manage Users enabled + // Manage Password Reset (Account Recovery) must have Manage Users enabled if ( this.permissionsGroup.value.manageResetPassword && !this.permissionsGroup.value.manageUsers @@ -312,7 +312,7 @@ export class MemberDialogComponent implements OnInit, OnDestroy { this.platformUtilsService.showToast( "info", null, - this.i18nService.t("resetPasswordManageUsers") + this.i18nService.t("accountRecoveryManageUsers") ); } } diff --git a/apps/web/src/locales/en/messages.json b/apps/web/src/locales/en/messages.json index 54253b5cbe..6c9b0111a6 100644 --- a/apps/web/src/locales/en/messages.json +++ b/apps/web/src/locales/en/messages.json @@ -4704,8 +4704,8 @@ "error": { "message": "Error" }, - "resetPasswordManageUsers": { - "message": "Manage users must also be granted with the manage password reset permission" + "accountRecoveryManageUsers": { + "message": "Manage users must also be granted with the manage account recovery permission" }, "setupProvider": { "message": "Provider setup"