diff --git a/nuxt.config.js b/nuxt.config.js index 52a5a83c..f55df5f8 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -75,7 +75,7 @@ module.exports = { endpoints: { login: { url: '/auth/login', method: 'post', propertyName: 'token' }, logout: false, - user: false + user: { url: '/auth/user', method: 'get', propertyName: false } }, tokenRequired: true, tokenType: 'Bearer'