diff --git a/src/frontend/src/components/authenticateBox.ts b/src/frontend/src/components/authenticateBox.ts index 60a5bfb167..19d715aa47 100644 --- a/src/frontend/src/components/authenticateBox.ts +++ b/src/frontend/src/components/authenticateBox.ts @@ -333,10 +333,12 @@ const page = (slot: TemplateResult) => { // Register this device as a new device with the anchor const asNewDevice = async (connection: Connection, userNumber?: bigint) => { // Prompt the user for an anchor (only used if we don't know the anchor already) - const askUserNumber = async () => { + const askUserNumber = async (userNumber?: bigint) => { const result = await promptUserNumber({ - title: "Add a Trusted Device", - message: "What’s your Internet Identity?", + title: "Continue with another device", + message: + "Is this your first time connecting to Internet Identity on this device? In the next steps, you will add this device as an Internet Identity passkey. Do you wish to continue?", + userNumber, }); if (result === "canceled") { // TODO L2-309: do this without reload @@ -346,8 +348,5 @@ const asNewDevice = async (connection: Connection, userNumber?: bigint) => { return result; }; - return registerTentativeDevice( - userNumber ?? (await askUserNumber()), - connection - ); + return registerTentativeDevice(await askUserNumber(userNumber), connection); }; diff --git a/src/frontend/src/flows/addDevice/welcomeView/deviceRegistrationModeDisabled.ts b/src/frontend/src/flows/addDevice/welcomeView/deviceRegistrationModeDisabled.ts index 1f9526b029..c032c5fc1a 100644 --- a/src/frontend/src/flows/addDevice/welcomeView/deviceRegistrationModeDisabled.ts +++ b/src/frontend/src/flows/addDevice/welcomeView/deviceRegistrationModeDisabled.ts @@ -14,7 +14,7 @@ const deviceRegistrationDisabledInfoTemplate = ({ }) => { const pageContentSlot = html`
-

Continue with another device

+

Add this device as a passkey

If this is your first time connecting to Internet Identity on this device, follow these steps to continue: @@ -22,10 +22,8 @@ const deviceRegistrationDisabledInfoTemplate = ({

  1. - Connect to - ${LEGACY_II_URL_NO_PROTOCOL} on your - other device using Internet Identity - ${userNumber} + Connect to ${LEGACY_II_URL_NO_PROTOCOL} on a recognized device using + Internet Identity ${userNumber}
  2. Once you are connected, select “
-

Then, press Retry below.

+

+ Then, press Refresh below. +