Skip to content

Commit

Permalink
docs: fix typo (#1534)
Browse files Browse the repository at this point in the history
  • Loading branch information
cutlope authored Apr 15, 2024
1 parent 50c26c4 commit b37654c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/pages/guides/email-and-password/2fa.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/guides/oauth/account-linking.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b37654c

Please sign in to comment.