1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-12 22:33:35 +00:00

PM-8886 - SsoComponent - fix missing form validation (#9665)

This commit is contained in:
Jared Snider
2024-06-14 16:17:54 -04:00
committed by GitHub
parent 1043a582c1
commit 0dd476588d

View File

@@ -141,6 +141,10 @@ export class SsoComponent extends BaseSsoComponent {
} }
submit = async () => { submit = async () => {
if (this.formGroup.invalid) {
return;
}
this.identifier = this.identifierFormControl.value; this.identifier = this.identifierFormControl.value;
await this.ssoLoginService.setOrganizationSsoIdentifier(this.identifier); await this.ssoLoginService.setOrganizationSsoIdentifier(this.identifier);
if (this.clientId === "browser") { if (this.clientId === "browser") {