[Reset Password] Event updates (#993)

* [Reset Password] Event updates

* Update jslib 395ded0 -> 6fbe330
This commit is contained in:
Vincent Salucci 2021-05-27 11:42:05 -05:00 committed by GitHub
parent b3f5c72ba9
commit 6586af71f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 2 deletions

2
jslib

@ -1 +1 @@
Subproject commit 2c297e2f45cd42c1260bb5d49d22d0ddae27d8f0
Subproject commit 6fbe33043b4994b1f01022b62c19aa10227f56b2

View File

@ -198,9 +198,13 @@ export class EventService {
msg = this.i18nService.t('eventWithdrawPasswordReset', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('eventWithdrawPasswordReset', this.getShortId(ev.organizationUserId));
break;
case EventType.OrganizationUser_AdminResetPassword:
msg = this.i18nService.t('eventAdminPasswordReset', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('eventAdminPasswordReset', this.getShortId(ev.organizationUserId));
break;
// Org
case EventType.Organization_Updated:
msg = humanReadableMsg = this.i18nService.t('editedOrgSettings');
msg = humanReadableMsg = this.i18nService.t('editedOrgSettings');
break;
case EventType.Organization_PurgedVault:
msg = humanReadableMsg = this.i18nService.t('purgedOrganizationVault');

View File

@ -3882,6 +3882,15 @@
}
}
},
"eventAdminPasswordReset": {
"message": "Master password reset for user $ID$.",
"placeholders": {
"id": {
"content": "$1",
"example": "John Smith"
}
}
},
"trashCleanupWarning": {
"message": "Items that have been in Trash more than 30 days will be automatically deleted."
},