summaryrefslogtreecommitdiff
path: root/src/client/app/common/views/components/signup.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/app/common/views/components/signup.vue')
-rw-r--r--src/client/app/common/views/components/signup.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/signup.vue b/src/client/app/common/views/components/signup.vue
index 45c2eabd45..9b1df79771 100644
--- a/src/client/app/common/views/components/signup.vue
+++ b/src/client/app/common/views/components/signup.vue
@@ -153,7 +153,10 @@ export default Vue.extend({
location.href = '/';
});
}).catch(() => {
- alert(this.$t('some-error'));
+ this.$root.dialog({
+ type: 'error',
+ text: this.$t('some-error')
+ });
if (this.meta.enableRecaptcha) {
(window as any).grecaptcha.reset();