Skip to content

Commit

Permalink
Fix SvelteKit docs line of text in a cell (#1325)
Browse files Browse the repository at this point in the history
  • Loading branch information
EspadaV8 authored Jan 7, 2024
1 parent 92565ca commit ae777d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions docs/pages/tutorials/username-and-password/sveltekit.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ npx degit https://github.com/lucia-auth/examples/tree/v3/sveltekit/username-and-
Add a `username` and `password` column to your user table.

| column | type | attributes |
| ---------- | -------- | ---------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ---------- | -------- | ---------- |
| `username` | `string` | unique |
| `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. |
| `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.

```ts
import { Lucia } from "lucia";
Expand Down

0 comments on commit ae777d5

Please sign in to comment.