mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
[auth] use nuxt/auth as it should be used
This commit is contained in:
parent
392bdfa961
commit
c521a586a0
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ module.exports = {
|
||||||
endpoints: {
|
endpoints: {
|
||||||
login: { url: '/auth/login', method: 'post', propertyName: 'token' },
|
login: { url: '/auth/login', method: 'post', propertyName: 'token' },
|
||||||
logout: false,
|
logout: false,
|
||||||
user: false
|
user: { url: '/auth/user', method: 'get', propertyName: false }
|
||||||
},
|
},
|
||||||
tokenRequired: true,
|
tokenRequired: true,
|
||||||
tokenType: 'Bearer'
|
tokenType: 'Bearer'
|
||||||
|
|
Loading…
Reference in a new issue