From a8a37c59f26be58a6baeae607d875e4ee4da6d29 Mon Sep 17 00:00:00 2001 From: pilcrowOnPaper Date: Thu, 25 Jan 2024 20:04:24 +0900 Subject: [PATCH] fix typo --- docs/pages/tutorials/username-and-password/astro.md | 10 +++++----- .../tutorials/username-and-password/nextjs-app.md | 10 +++++----- .../tutorials/username-and-password/nextjs-pages.md | 10 +++++----- docs/pages/tutorials/username-and-password/nuxt.md | 10 +++++----- .../pages/tutorials/username-and-password/sveltekit.md | 10 +++++----- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/docs/pages/tutorials/username-and-password/astro.md b/docs/pages/tutorials/username-and-password/astro.md index 06de5fb89..6b79bbd51 100644 --- a/docs/pages/tutorials/username-and-password/astro.md +++ b/docs/pages/tutorials/username-and-password/astro.md @@ -14,12 +14,12 @@ npx degit https://github.com/lucia-auth/examples/tree/v3/astro/username-and-pass ## Update database -Add a `username` and `password` column to your user table. +Add a `username` and `hashed_password` column to your user table. -| column | type | attributes | -| ---------- | -------- | ---------- | -| `username` | `string` | unique | -| `password` | `string` | | +| column | type | attributes | +| ----------------- | -------- | ---------- | +| `username` | `string` | unique | +| `hashed_password` | `string` | | Create a `DatabaseUserAttributes` interface in the module declaration and add your database columns. By default, Lucia will not expose any database columns to the `User` type. To add a `username` field to it, use the `getUserAttributes()` option. diff --git a/docs/pages/tutorials/username-and-password/nextjs-app.md b/docs/pages/tutorials/username-and-password/nextjs-app.md index fc4c9239d..b56acee57 100644 --- a/docs/pages/tutorials/username-and-password/nextjs-app.md +++ b/docs/pages/tutorials/username-and-password/nextjs-app.md @@ -14,12 +14,12 @@ npx degit https://github.com/lucia-auth/examples/tree/v3/nextjs-app/username-and ## Update database -Add a `username` and `password` column to your user table. +Add a `username` and `hashed_password` column to your user table. -| column | type | attributes | -| ---------- | -------- | ---------- | -| `username` | `string` | unique | -| `password` | `string` | | +| column | type | attributes | +| ----------------- | -------- | ---------- | +| `username` | `string` | unique | +| `hashed_password` | `string` | | Create a `DatabaseUserAttributes` interface in the module declaration and add your database columns. By default, Lucia will not expose any database columns to the `User` type. To add a `username` field to it, use the `getUserAttributes()` option. diff --git a/docs/pages/tutorials/username-and-password/nextjs-pages.md b/docs/pages/tutorials/username-and-password/nextjs-pages.md index dc0db6088..ac8325525 100644 --- a/docs/pages/tutorials/username-and-password/nextjs-pages.md +++ b/docs/pages/tutorials/username-and-password/nextjs-pages.md @@ -14,12 +14,12 @@ npx degit https://github.com/lucia-auth/examples/tree/v3/nextjs-pages/username-a ## Update database -Add a `username` and `password` column to your user table. +Add a `username` and `hashed_password` column to your user table. -| column | type | attributes | -| ---------- | -------- | ---------- | -| `username` | `string` | unique | -| `password` | `string` | | +| column | type | attributes | +| ----------------- | -------- | ---------- | +| `username` | `string` | unique | +| `hashed_password` | `string` | | Create a `DatabaseUserAttributes` interface in the module declaration and add your database columns. By default, Lucia will not expose any database columns to the `User` type. To add a `username` field to it, use the `getUserAttributes()` option. diff --git a/docs/pages/tutorials/username-and-password/nuxt.md b/docs/pages/tutorials/username-and-password/nuxt.md index b93e63fbe..2d2e5bd83 100644 --- a/docs/pages/tutorials/username-and-password/nuxt.md +++ b/docs/pages/tutorials/username-and-password/nuxt.md @@ -14,12 +14,12 @@ npx degit https://github.com/lucia-auth/examples/tree/v3/nuxt/username-and-passw ## Update database -Add a `username` and `password` column to your user table. +Add a `username` and `hashed_password` column to your user table. -| column | type | attributes | -| ---------- | -------- | ---------- | -| `username` | `string` | unique | -| `password` | `string` | | +| column | type | attributes | +| ----------------- | -------- | ---------- | +| `username` | `string` | unique | +| `hashed_password` | `string` | | Create a `DatabaseUserAttributes` interface in the module declaration and add your database columns. By default, Lucia will not expose any database columns to the `User` type. To add a `username` field to it, use the `getUserAttributes()` option. diff --git a/docs/pages/tutorials/username-and-password/sveltekit.md b/docs/pages/tutorials/username-and-password/sveltekit.md index 278bc8d55..e42b2b218 100644 --- a/docs/pages/tutorials/username-and-password/sveltekit.md +++ b/docs/pages/tutorials/username-and-password/sveltekit.md @@ -14,12 +14,12 @@ npx degit https://github.com/lucia-auth/examples/tree/v3/sveltekit/username-and- ## Update database -Add a `username` and `password` column to your user table. +Add a `username` and `hashed_password` column to your user table. -| column | type | attributes | -| ---------- | -------- | ---------- | -| `username` | `string` | unique | -| `password` | `string` | | +| column | type | attributes | +| ----------------- | -------- | ---------- | +| `username` | `string` | unique | +| `hashed_password` | `string` | | Create a `DatabaseUserAttributes` interface in the module declaration and add your database columns. By default, Lucia will not expose any database columns to the `User` type. To add a `username` field to it, use the `getUserAttributes()` option.