1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-22 16:29:09 +01:00

Validate domain has been verified (#11125)

- Added client-side validation that the domain has been verified.
This commit is contained in:
Jared McCannon 2024-09-23 10:33:44 -05:00 committed by GitHub
parent c484f8306c
commit 2b462b6fd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,7 +110,7 @@ export class SsoComponent extends BaseSsoComponent implements OnInit {
const response: OrganizationDomainSsoDetailsResponse =
await this.orgDomainApiService.getClaimedOrgDomainByEmail(qParams.email);
if (response?.ssoAvailable) {
if (response?.ssoAvailable && response?.verifiedDate) {
this.identifierFormControl.setValue(response.organizationIdentifier);
await this.submit();
return;