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

[Key Connector] Add firstSsoLogin event (#1305)

* Add firstSsoLogin event

* Update jslib
This commit is contained in:
Thomas Rittson
2021-11-19 06:01:28 +10:00
committed by GitHub
parent 1e5c2c35e5
commit 7c902e61d6
3 changed files with 14 additions and 1 deletions

2
jslib

Submodule jslib updated: 9b7aaa272d...10fa164ffc

View File

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

View File

@@ -4048,6 +4048,15 @@
}
}
},
"firstSsoLogin": {
"message": "$ID$ logged in using Sso for the first time",
"placeholders": {
"id": {
"content": "$1",
"example": "John Smith"
}
}
},
"resetPassword": {
"message": "Reset Password"
},