fix(sso-login): [PM-27674] (Auth) Make 'enter' press start sso process if ssoRequired (#17186)

If user's email is NOT in the ssoRequiredCache, pressing "enter" takes them to the MP login screen. If the user's email is in the ssoRequiredCache, pressing "enter" starts the SSO login process.

Feature Flags enabled: pm-22110-disable-alternate-login-methods
This commit is contained in:
rr-bw 2025-11-04 10:41:00 -08:00 committed by GitHub
parent f556f3b000
commit 409dbc4c44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -21,7 +21,7 @@
bitInput
appAutofocus
(input)="onEmailInput($event)"
(keyup.enter)="continuePressed()"
(keyup.enter)="ssoRequired ? handleSsoClick() : continuePressed()"
/>
</bit-form-field>