1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-24 17:11:55 +01: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
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 9b7aaa272d2ba226952c8f95c6354f952a66faa0
Subproject commit 10fa164ffc6f61e2264633ca4874473fa6afb4f4

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