1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00

Add event logging for ResetSsoLink (#1173)

* Add event logging for ResetSsoLink

* Updated jslib with new event-type

Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
This commit is contained in:
Thomas Rittson
2021-09-04 00:20:59 +10:00
committed by GitHub
parent 9832deb20c
commit 3a25b1fb20
3 changed files with 14 additions and 1 deletions

2
jslib

Submodule jslib updated: d50531886b...6c9485596c

View File

@@ -206,6 +206,10 @@ export class EventService {
msg = this.i18nService.t('eventAdminPasswordReset', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('eventAdminPasswordReset', this.getShortId(ev.organizationUserId));
break;
case EventType.OrganizationUser_ResetSsoLink:
msg = this.i18nService.t('eventResetSsoLink', this.formatOrgUserId(ev));
humanReadableMsg = this.i18nService.t('eventResetSsoLink', this.getShortId(ev.organizationUserId));
break;
// Org
case EventType.Organization_Updated:
msg = humanReadableMsg = this.i18nService.t('editedOrgSettings');

View File

@@ -3952,6 +3952,15 @@
}
}
},
"eventResetSsoLink": {
"message": "Reset Sso link for user $ID$",
"placeholders": {
"id": {
"content": "$1",
"example": "John Smith"
}
}
},
"resetPassword": {
"message": "Reset Password"
},