Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions apps/web/src/app/dirt/event-logs/services/event.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,9 @@ export class EventService {
msg = humanReadableMsg = this.i18nService.t("exportedVault");
break;
case EventType.User_UpdatedTempPassword:
msg = humanReadableMsg = this.i18nService.t("updatedTempPassword");
msg = humanReadableMsg = this.i18nService.t(
"userResetMasterPasswordThroughAccountRecovery",
);
break;
case EventType.User_MigratedKeyToKeyConnector:
msg = humanReadableMsg = this.i18nService.t("migratedKeyConnector");
Expand Down Expand Up @@ -322,16 +324,22 @@ export class EventService {
);
break;
case EventType.OrganizationUser_AdminResetPassword:
msg = this.i18nService.t("eventAdminPasswordReset", this.formatOrgUserId(ev));
msg = this.i18nService.t(
"eventAccountRecoveryWithMasterPasswordInitiated",
this.formatOrgUserId(ev),
);
humanReadableMsg = this.i18nService.t(
"eventAdminPasswordReset",
"eventAccountRecoveryWithMasterPasswordInitiated",
this.getShortId(ev.organizationUserId),
);
break;
case EventType.OrganizationUser_AdminResetTwoFactor:
msg = this.i18nService.t("eventAdminResetTwoFactor", this.formatOrgUserId(ev));
msg = this.i18nService.t(
"eventAccountRecoveryWithTwoStepLoginInitiated",
this.formatOrgUserId(ev),
);
humanReadableMsg = this.i18nService.t(
"eventAdminResetTwoFactor",
"eventAccountRecoveryWithTwoStepLoginInitiated",
this.getShortId(ev.organizationUserId),
);
break;
Expand Down
12 changes: 6 additions & 6 deletions apps/web/src/locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -6895,17 +6895,17 @@
}
}
},
"eventAdminPasswordReset": {
"message": "Master password reset for user $ID$.",
"eventAccountRecoveryWithMasterPasswordInitiated": {
"message": "Account recovery with master password initiated for $ID$.",
"placeholders": {
"id": {
"content": "$1",
"example": "John Smith"
}
}
},
"eventAdminResetTwoFactor": {
"message": "Two-step login reset for user $ID$.",
"eventAccountRecoveryWithTwoStepLoginInitiated": {
"message": "Account recovery with two-step login initiated for $ID$.",
"placeholders": {
"id": {
"content": "$1",
Expand Down Expand Up @@ -10077,8 +10077,8 @@
"recoverAccountSuccess": {
"message": "Account recovery success!"
},
"updatedTempPassword": {
"message": "User updated a password issued through account recovery."
"userResetMasterPasswordThroughAccountRecovery": {
"message": "User reset their master password through account recovery."
},
"activatedAccessToSecretsManager": {
"message": "Activated access to Secrets Manager",
Expand Down
Loading