Skip to content

Commit 1531685

Browse files
committed
Merge branch 'next' of github.com:devforth/adminforth into next
2 parents 4332c9c + 2f50c37 commit 1531685

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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'

adminforth/spa/src/afcl/Select.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,11 +265,11 @@ onMounted(() => {
265265
266266
watch(() => props.modelValue, (value) => {
267267
updateFromProps();
268-
});
268+
}, {deep: true});
269269
270270
watch(() => props.options, () => {
271271
updateFromProps();
272-
});
272+
}, { deep: true });
273273
274274
addClickListener();
275275

0 commit comments

Comments
 (0)