mirror of
https://github.com/bitwarden/browser
synced 2025-12-13 06:43:35 +00:00
Validate domain has been verified (#11125)
- Added client-side validation that the domain has been verified.
This commit is contained in:
@@ -110,7 +110,7 @@ export class SsoComponent extends BaseSsoComponent implements OnInit {
|
|||||||
const response: OrganizationDomainSsoDetailsResponse =
|
const response: OrganizationDomainSsoDetailsResponse =
|
||||||
await this.orgDomainApiService.getClaimedOrgDomainByEmail(qParams.email);
|
await this.orgDomainApiService.getClaimedOrgDomainByEmail(qParams.email);
|
||||||
|
|
||||||
if (response?.ssoAvailable) {
|
if (response?.ssoAvailable && response?.verifiedDate) {
|
||||||
this.identifierFormControl.setValue(response.organizationIdentifier);
|
this.identifierFormControl.setValue(response.organizationIdentifier);
|
||||||
await this.submit();
|
await this.submit();
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user