diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js index 9778a2f3..bac4f798 100644 --- a/src/components/registration/registration.js +++ b/src/components/registration/registration.js @@ -8,13 +8,11 @@ const registration = { setup () { return { v$: useVuelidate() } }, data: () => ({ user: { - email: '', fullname: '', username: '', password: '', confirm: '', reason: '', - language: '' }, captcha: {} }), @@ -24,7 +22,6 @@ const registration = { validations () { return { user: { - email: { required: requiredIf(() => this.accountActivationRequired) }, username: { required }, fullname: { required }, password: { required }, @@ -32,8 +29,7 @@ const registration = { required, sameAs: sameAs(this.user.password) }, - reason: { required: requiredIf(() => this.accountApprovalRequired) }, - language: {} + reason: { required: requiredIf(() => this.accountApprovalRequired) } } } }, @@ -71,9 +67,6 @@ const registration = { this.user.captcha_solution = this.captcha.solution this.user.captcha_token = this.captcha.token this.user.captcha_answer_data = this.captcha.answer_data - if (this.user.language) { - this.user.language = localeService.internalToBackendLocale(this.user.language) - } this.v$.$touch() diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue index 9a88d68d..72e45d64 100644 --- a/src/components/registration/registration.vue +++ b/src/components/registration/registration.vue @@ -64,33 +64,6 @@ -
- - -
-
- -
-
-
- -
-