summaryrefslogtreecommitdiffstats
path: root/webapp/src/main.js
diff options
context:
space:
mode:
authorJannik Schönartz2019-02-22 02:59:26 +0100
committerJannik Schönartz2019-02-22 02:59:26 +0100
commit892a048d072d05886951bcb92e6b61c2094a6463 (patch)
tree2ff89b4d69c829304f55d529203eed985aaac413 /webapp/src/main.js
parentrework user api to rest (diff)
downloadbas-892a048d072d05886951bcb92e6b61c2094a6463.tar.gz
bas-892a048d072d05886951bcb92e6b61c2094a6463.tar.xz
bas-892a048d072d05886951bcb92e6b61c2094a6463.zip
[authentication] Implement initial root account setup
[backend] Reworked authentication library to the api structure Add authentication api to remove the login routes from the router.js [webapp] Split login Page in StartPage + Login/Setup Add Setup Page for the initial root creation
Diffstat (limited to 'webapp/src/main.js')
-rw-r--r--webapp/src/main.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/main.js b/webapp/src/main.js
index 53064ca..4eb4636 100644
--- a/webapp/src/main.js
+++ b/webapp/src/main.js
@@ -60,7 +60,7 @@ Vue.use(VueTouch)
axios.interceptors.response.use(null, error => {
if (error && (error.response.data.status === 'TOKEN_INVALID' || error.response.data.status === 'TOKEN_MISSING')) {
- axios.post('/api/logout').then(response => { router.push('/login') })
+ axios.post('/api/authentication/logout').then(response => { router.push('/login') })
}
return Promise.reject(error)
})