Skip to content

Commit

Permalink
chore(playground): add missing config options
Browse files Browse the repository at this point in the history
  • Loading branch information
becem-gharbi committed Mar 11, 2024
1 parent cd93cd9 commit dc0e172
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion playground/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@ export default defineNuxtConfig({
directus: {
auth: {
enabled: true,
userFields: ['first_name', 'last_name']
userFields: ['first_name', 'last_name'],
enableGlobalAuthMiddleware: false,
redirect: {
login: '/auth/login',
callback: '/auth/callback',
resetPassword: '/auth/reset-password',
home: '/home',
logout: '/auth/login'
}
}
}
})

0 comments on commit dc0e172

Please sign in to comment.