[auth] use nuxt/auth as it should be used

This commit is contained in:
les 2020-01-21 14:46:45 +01:00
parent 392bdfa961
commit c521a586a0

View file

@ -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'