From b37654c094d82a61dba8baa8e05342b0c3b8325d Mon Sep 17 00:00:00 2001 From: "Abdullah ;)" <34349994+cutlope@users.noreply.github.com> Date: Mon, 15 Apr 2024 05:31:22 +0500 Subject: [PATCH] docs: fix typo (#1534) --- docs/pages/guides/email-and-password/2fa.md | 2 +- .../pages/guides/email-and-password/email-verification-codes.md | 2 +- .../pages/guides/email-and-password/email-verification-links.md | 2 +- docs/pages/guides/oauth/account-linking.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/pages/guides/email-and-password/2fa.md b/docs/pages/guides/email-and-password/2fa.md index 454266190..4ded48cd6 100644 --- a/docs/pages/guides/email-and-password/2fa.md +++ b/docs/pages/guides/email-and-password/2fa.md @@ -47,7 +47,7 @@ When the user signs up, set `two_factor_secret` to `null` to indicate the user h app.post("/signup", async () => { // ... - const userId = generateId(); + const userId = generateId(15); await db.table("user").insert({ id: userId, diff --git a/docs/pages/guides/email-and-password/email-verification-codes.md b/docs/pages/guides/email-and-password/email-verification-codes.md index fa9ca88af..58c8288e2 100644 --- a/docs/pages/guides/email-and-password/email-verification-codes.md +++ b/docs/pages/guides/email-and-password/email-verification-codes.md @@ -87,7 +87,7 @@ import { generateId } from "lucia"; app.post("/signup", async () => { // ... - const userId = generateId(); + const userId = generateId(15); await db.table("user").insert({ id: userId, diff --git a/docs/pages/guides/email-and-password/email-verification-links.md b/docs/pages/guides/email-and-password/email-verification-links.md index 27c2d6f7b..04bd8d556 100644 --- a/docs/pages/guides/email-and-password/email-verification-links.md +++ b/docs/pages/guides/email-and-password/email-verification-links.md @@ -86,7 +86,7 @@ import { generateId } from "lucia"; app.post("/signup", async () => { // ... - const userId = generateId(); + const userId = generateId(15); await db.table("user").insert({ id: userId, diff --git a/docs/pages/guides/oauth/account-linking.md b/docs/pages/guides/oauth/account-linking.md index 437c682d7..0d97d4469 100644 --- a/docs/pages/guides/oauth/account-linking.md +++ b/docs/pages/guides/oauth/account-linking.md @@ -50,7 +50,7 @@ if (existingUser) { user_id: existingUser.id }); } else { - const userId = generateId(); + const userId = generateId(15); await db.beginTransaction(); await db.table("user").insert({ id: userId,