diff --git a/e2e/oauth-flow.spec.js b/e2e/oauth-flow.spec.js index 9c23d24..157bb67 100644 --- a/e2e/oauth-flow.spec.js +++ b/e2e/oauth-flow.spec.js @@ -28,7 +28,7 @@ test("OAuth 2.1 magic link flow", async ({ page, request }) => { await expect(page).toHaveURL(/\/login/); // Click through to the magic link form - await page.getByRole("button", { name: /Send Magic Link/i }).click(); + await page.getByRole("button", { name: /Sign in with e-mail/i }).click(); await expect(page).toHaveURL(/\/login\/magic-link/); // Submit email diff --git a/src/app/components/login.js b/src/app/components/login.js index e66b09a..44819b1 100644 --- a/src/app/components/login.js +++ b/src/app/components/login.js @@ -13,7 +13,7 @@ export const MagicLinkButton = ({ callbackURL } = {}) => html`
`; diff --git a/src/app/routes/auth.js b/src/app/routes/auth.js index d80dd38..f539622 100644 --- a/src/app/routes/auth.js +++ b/src/app/routes/auth.js @@ -43,7 +43,7 @@ function showMagicLinkForm(c) { return c.html( Layout({ - title: "Magic Link Login", + title: "Sign in with e-mail", children: html`