From 0dd476588df776d4114baf53ef2b51f9dd11d888 Mon Sep 17 00:00:00 2001 From: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com> Date: Fri, 14 Jun 2024 16:17:54 -0400 Subject: [PATCH] PM-8886 - SsoComponent - fix missing form validation (#9665) --- apps/web/src/app/auth/sso.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/web/src/app/auth/sso.component.ts b/apps/web/src/app/auth/sso.component.ts index 2b8f20ed424..731cade3746 100644 --- a/apps/web/src/app/auth/sso.component.ts +++ b/apps/web/src/app/auth/sso.component.ts @@ -141,6 +141,10 @@ export class SsoComponent extends BaseSsoComponent { } submit = async () => { + if (this.formGroup.invalid) { + return; + } + this.identifier = this.identifierFormControl.value; await this.ssoLoginService.setOrganizationSsoIdentifier(this.identifier); if (this.clientId === "browser") {