Skip to content

Commit c84fc7b

Browse files
committed
docs: update docs for the two factors auth plugin
1 parent 371c296 commit c84fc7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adminforth/documentation/docs/tutorial/07-Plugins/02-TwoFactorsAuth.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -546,14 +546,14 @@ First, you need to create a passkeys table in your schema.prisma file:
546546
//diff-add
547547
}
548548
```
549+
>☝️Use string data type for credential_id and meta fields
549550
550551
And make migration:
551552
552553
```bash
553554
npm run makemigration -- --name add-passkeys ; npm run migrate:local
554555
```
555556
556-
557557
Next, you need to create a new resource for passkeys:
558558
559559
```ts title='./resources/passkeys.ts'

0 commit comments

Comments
 (0)