mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
If a user is part of an org that has the `RequireSso` policy, when that user successfully logs in we add their email to a local `ssoRequiredCache` on their device. The next time this user goes to the `/login` screen on this device, we will use that cache to determine that for this email we should only show the "Use single sign-on" button and disable the alternate login buttons. These changes are behind the flag: `PM22110_DisableAlternateLoginMethods`
18 lines
637 B
HTML
18 lines
637 B
HTML
<form [formGroup]="formGroup" [bitSubmit]="submit" class="tw-container">
|
|
<div *ngIf="loggingIn">
|
|
<i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i>
|
|
{{ "loading" | i18n }}
|
|
</div>
|
|
<div *ngIf="!loggingIn">
|
|
<bit-form-field>
|
|
<bit-label>{{ "ssoIdentifier" | i18n }}</bit-label>
|
|
<input bitInput type="text" formControlName="identifier" appAutofocus />
|
|
</bit-form-field>
|
|
<div class="tw-flex tw-gap-2">
|
|
<button type="submit" bitButton bitFormButton buttonType="primary" [block]="true">
|
|
{{ "continue" | i18n }}
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</form>
|