Skip to content

Commit

Permalink
PM-8886 - SsoComponent - fix missing form validation (#9665)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaredSnider-Bitwarden authored Jun 14, 2024
1 parent 1043a58 commit 0dd4765
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/web/src/app/auth/sso.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 0dd4765

Please sign in to comment.