summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/StartPageSetup.vue
diff options
context:
space:
mode:
authorJannik Schönartz2019-03-04 01:14:38 +0100
committerJannik Schönartz2019-03-04 01:14:38 +0100
commit6471511909de79c1f3739ba9d6a5b45b7eb1fadb (patch)
treeb0702eae88cea3ce8fff89f1fa2f91849e79e1ee /webapp/src/components/StartPageSetup.vue
parent[webapp] add option to disable all animations (diff)
downloadbas-6471511909de79c1f3739ba9d6a5b45b7eb1fadb.tar.gz
bas-6471511909de79c1f3739ba9d6a5b45b7eb1fadb.tar.xz
bas-6471511909de79c1f3739ba9d6a5b45b7eb1fadb.zip
[authentication] Restructure api to match our new error code standard
Moved most of the res.send from the lib to the api Fixed frontend to match the new api
Diffstat (limited to 'webapp/src/components/StartPageSetup.vue')
-rw-r--r--webapp/src/components/StartPageSetup.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/src/components/StartPageSetup.vue b/webapp/src/components/StartPageSetup.vue
index 1bde01c..0d111bc 100644
--- a/webapp/src/components/StartPageSetup.vue
+++ b/webapp/src/components/StartPageSetup.vue
@@ -67,7 +67,7 @@ export default {
this.$snackbar({ color: 'success', text: this.$t('rootCreated'), timeout: 15000 })
this.$router.replace({ name: 'login' })
}).catch(error => {
- this.$snackbar({ color: 'error', text: error.response.data.error_message, timeout: 15000 })
+ this.$snackbar({ color: 'error', text: error.response.data.message, timeout: 15000 })
})
}
}