diff --git a/frontend/src/pages/Register.vue b/frontend/src/pages/Register.vue index 52053e6f7..a41952030 100755 --- a/frontend/src/pages/Register.vue +++ b/frontend/src/pages/Register.vue @@ -105,20 +105,6 @@ - - - - - {{ $t('error.error') }} - {{ messageError }} - - {{ $t('publisher.publisherId') }} {{ $store.state.publisherId }} @@ -228,9 +214,7 @@ export default { language: '', showPageMessage: false, submitted: false, - showError: false, messageError: '', - register: true, publisherId: this.$store.state.publisherId, redeemCode: this.$route.params.code, CONFIG, @@ -267,7 +251,6 @@ export default { .catch((error) => { this.showPageMessage = true this.success = false - this.showError = true switch (error.message) { case 'GraphQL error: User already exists.': this.messageError = this.$t('error.user-already-exists') @@ -279,17 +262,8 @@ export default { this.toastError(this.messageError) }) }, - // Wolle: remove this? - closeAlert() { - this.showError = false - this.messageError = '' - this.form.email = '' - this.form.firstname = '' - this.form.lastname = '' - }, solveError() { this.showPageMessage = false - this.showError = false this.messageError = '' this.form.email = '' this.form.firstname = ''