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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 1 deletions

2
jslib

@ -1 +1 @@
Subproject commit d50531886bb8a797e98a3aeea08a7ed54e768788
Subproject commit 6c9485596c27cbd889c8deeb95e4e4e84b3e58bb

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"
},