diff --git a/docs/guide/local/session-data.md b/docs/guide/local/session-data.md index 33398446..4dfbcc7c 100644 --- a/docs/guide/local/session-data.md +++ b/docs/guide/local/session-data.md @@ -7,11 +7,13 @@ export default defineNuxtConfig({ auth: { provider: { type: 'local', - sessionDataType: { - id: 'string | number', - firstName: 'string', - lastName: 'string' - } + session: { + dataType: { + id: 'string | number', + firstName: 'string', + lastName: 'string', + }, + }, } } }) @@ -36,11 +38,13 @@ export default defineNuxtConfig({ auth: { provider: { type: 'local', - sessionDataType: { - id: 'string | number', - firstName: 'string', - lastName: 'string', - subscriptions: '{ id: number, active: boolean}[]' + session: { + dataType: { + id: 'string | number', + firstName: 'string', + lastName: 'string', + subscriptions: '{ id: number, active: boolean }[]' + }, } } }