1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 05:43:41 +00: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

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;