diff --git a/dashboard/src/components/SetupAccount.vue b/dashboard/src/components/SetupAccount.vue index 146d373ee..a58b933bf 100644 --- a/dashboard/src/components/SetupAccount.vue +++ b/dashboard/src/components/SetupAccount.vue @@ -66,13 +66,15 @@ async function onSubmit() { passwordRepeat.value = ''; } else { formError.value.generic = error.body ? error.body.message : 'Interal error'; + console.error(error); } } else { formError.value.generic = error.body ? error.body.message : 'Interal error'; + console.error(error); } busy.value = false; - return console.error(error); + return; } // set token to autologin on first oidc flow