1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-23 19:53:43 +00:00

[AC-1077] Update "Master Password Reset" policy copy (#5463)

* [AC-1077] Renamed "Master password reset" policy to "Account recovery administration"

* [AC-1077] Updated copy in TDE SSO option in configuration page to “Account Recovery Administration policy”

* [AC-1077] Updated “Reset password” action and modal to “Recover account”

* [AC-1077] Changed event message for user updating temporary password issued through account recovery

* [AC-1077] Renamed 'password reset' enrollment to 'account recovery'

* [AC-1077] Updated key names for messages that were modified for Account Recovery policy copy
This commit is contained in:
Rui Tomé
2023-06-01 08:57:30 +01:00
committed by GitHub
parent 4a7bfdb2bd
commit dea4c6858f
8 changed files with 44 additions and 38 deletions

View File

@@ -3,7 +3,7 @@
<form class="modal-content" #form (ngSubmit)="submit()" [appApiAction]="formPromise">
<div class="modal-header">
<h1 class="modal-title" id="resetPasswordTitle">
{{ "resetPassword" | i18n }}
{{ "recoverAccount" | i18n }}
<small class="text-muted" *ngIf="name">{{ name }}</small>
</h1>
<button

View File

@@ -214,10 +214,10 @@
<ng-container *ngIf="showEnrolledStatus($any(u))">
<i
class="bwi bwi-key"
title="{{ 'enrolledPasswordReset' | i18n }}"
title="{{ 'enrolledAccountRecovery' | i18n }}"
aria-hidden="true"
></i>
<span class="tw-sr-only">{{ "enrolledPasswordReset" | i18n }}</span>
<span class="tw-sr-only">{{ "enrolledAccountRecovery" | i18n }}</span>
</ng-container>
</td>
<td bitCell>
@@ -283,7 +283,7 @@
(click)="resetPassword(u)"
*ngIf="allowResetPassword(u)"
>
<i aria-hidden="true" class="bwi bwi-key"></i> {{ "resetPassword" | i18n }}
<i aria-hidden="true" class="bwi bwi-key"></i> {{ "recoverAccount" | i18n }}
</button>
<button
type="button"

View File

@@ -8,8 +8,8 @@ import { Organization } from "@bitwarden/common/admin-console/models/domain/orga
import { BasePolicy, BasePolicyComponent } from "./base-policy.component";
export class ResetPasswordPolicy extends BasePolicy {
name = "resetPasswordPolicy";
description = "resetPasswordPolicyDescription";
name = "accountRecoveryPolicy";
description = "accountRecoveryPolicyDescription";
type = PolicyType.ResetPassword;
component = ResetPasswordPolicyComponent;

View File

@@ -14,7 +14,7 @@
>
<div class="modal-header">
<h1 class="modal-title" id="enrollMasterPasswordResetTitle">
{{ "enrollPasswordReset" | i18n }}
{{ "enrollAccountRecovery" | i18n }}
</h1>
<button
type="button"

View File

@@ -75,7 +75,7 @@ export class EventService {
msg = humanReadableMsg = this.i18nService.t("exportedVault");
break;
case EventType.User_UpdatedTempPassword:
msg = humanReadableMsg = this.i18nService.t("updatedMasterPassword");
msg = humanReadableMsg = this.i18nService.t("updatedTempPassword");
break;
case EventType.User_MigratedKeyToKeyConnector:
msg = humanReadableMsg = this.i18nService.t("migratedKeyConnector");
@@ -259,16 +259,16 @@ export class EventService {
);
break;
case EventType.OrganizationUser_ResetPassword_Enroll:
msg = this.i18nService.t("eventEnrollPasswordReset", this.formatOrgUserId(ev));
msg = this.i18nService.t("eventEnrollAccountRecovery", this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t(
"eventEnrollPasswordReset",
"eventEnrollAccountRecovery",
this.getShortId(ev.organizationUserId)
);
break;
case EventType.OrganizationUser_ResetPassword_Withdraw:
msg = this.i18nService.t("eventWithdrawPasswordReset", this.formatOrgUserId(ev));
msg = this.i18nService.t("eventWithdrawAccountRecovery", this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t(
"eventWithdrawPasswordReset",
"eventWithdrawAccountRecovery",
this.getShortId(ev.organizationUserId)
);
break;

View File

@@ -18,7 +18,7 @@
(click)="toggleResetPasswordEnrollment(organization)"
>
<i class="bwi bwi-fw bwi-key" aria-hidden="true"></i>
{{ "enrollPasswordReset" | i18n }}
{{ "enrollAccountRecovery" | i18n }}
</button>
<button
type="button"
@@ -27,7 +27,7 @@
(click)="toggleResetPasswordEnrollment(organization)"
>
<i class="bwi bwi-fw bwi-undo" aria-hidden="true"></i>
{{ "withdrawPasswordReset" | i18n }}
{{ "withdrawAccountRecovery" | i18n }}
</button>
<ng-container *ngIf="organization.useSso && organization.identifier">
<button