Skip to content

Commit

Permalink
Hide sso identifier and use dummy value
Browse files Browse the repository at this point in the history
  • Loading branch information
Timshel committed Dec 19, 2024
1 parent 98cd0e3 commit 75681ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions apps/web/src/app/auth/sso.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,11 @@
</div>
<div *ngIf="!loggingIn">
<p bitTypography="body1">{{ "ssoLogInWithOrgIdentifier" | i18n }}</p>
<bit-form-field>
<bit-label>{{ "ssoIdentifier" | i18n }}</bit-label>
<input bitInput type="text" formControlName="identifier" appAutofocus />
</bit-form-field>
<hr />
<div class="tw-flex tw-gap-2">
<button type="submit" bitButton bitFormButton buttonType="primary" [block]="true">
{{ "logIn" | i18n }}
</button>
<a bitButton buttonType="secondary" routerLink="/login" [block]="true">
{{ "cancel" | i18n }}
</a>
</div>
</div>
</form>
2 changes: 1 addition & 1 deletion apps/web/src/app/auth/sso.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { PasswordGenerationServiceAbstraction } from "@bitwarden/generator-legac
// eslint-disable-next-line rxjs-angular/prefer-takeuntil
export class SsoComponent extends BaseSsoComponent implements OnInit {
protected formGroup = new FormGroup({
identifier: new FormControl(null, [Validators.required]),
identifier: new FormControl("Vaultwarden", [Validators.required]),
});

get identifierFormControl() {
Expand Down

0 comments on commit 75681ef

Please sign in to comment.