mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Use FreshApiToken instead of Personal access token for front-end auth
This commit is contained in:
2
resources/js/mixins.js
vendored
2
resources/js/mixins.js
vendored
@ -12,7 +12,7 @@ Vue.mixin({
|
||||
|
||||
async appLogout(evt) {
|
||||
|
||||
await this.axios.get('api/user/logout')
|
||||
await this.axios.get('/user/logout')
|
||||
|
||||
this.$storage.clear()
|
||||
delete this.axios.defaults.headers.common['Authorization']
|
||||
|
Reference in New Issue
Block a user