diff --git a/apps/web/src/locales/en/messages.json b/apps/web/src/locales/en/messages.json index d2e4db7b50f..c2e1470be46 100644 --- a/apps/web/src/locales/en/messages.json +++ b/apps/web/src/locales/en/messages.json @@ -800,6 +800,9 @@ "logInWithPasskey": { "message": "Log in with passkey" }, + "useSingleSignOn": { + "message": "Use single sign-on" + }, "invalidPasskeyPleaseTryAgain": { "message": "Invalid Passkey. Please try again." }, diff --git a/libs/auth/src/angular/login/login-secondary-content.component.ts b/libs/auth/src/angular/login/login-secondary-content.component.ts index e3badc7df00..e7df52954ed 100644 --- a/libs/auth/src/angular/login/login-secondary-content.component.ts +++ b/libs/auth/src/angular/login/login-secondary-content.component.ts @@ -27,4 +27,8 @@ export class LoginSecondaryContentComponent { // also passes the email address to the registration page. We need to find a way to // do this now that the "Create account" link is in a separate component as // secondary content. + + // TODO-rr-bw: Also need to make sure clicking the "Create account" link doesn't + // trigger form validation, causing the link to jump down on the page. See comment + // on this in the original web login.component.html (lines 51-57). } diff --git a/libs/auth/src/angular/login/login.component.html b/libs/auth/src/angular/login/login.component.html index be861e8471b..93c9577fcbc 100644 --- a/libs/auth/src/angular/login/login.component.html +++ b/libs/auth/src/angular/login/login.component.html @@ -12,23 +12,16 @@ # UI States - Each client template is split into two UI states: + Each client template has two UI states, defined by `LoginUiState` enum: State 1: displays the email input field + continue button State 2: displays the master password input field + login button - - These are defined by the `LoginUiState` enum: - - enum LoginUiState { - EMAIL_ENTRY = "EmailEntry", - MASTER_PASSWORD_ENTRY = "MasterPasswordEntry", - } --> -
{{ "loggingInAs" | i18n }} {{ loggedEmail }}
- - {{ "notYou" | i18n }} + + + {{ "getMasterPasswordHint" | i18n }} + + + + +