diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js index 65b2fb9b..dd8e6e5d 100644 --- a/src/components/registration/registration.js +++ b/src/components/registration/registration.js @@ -48,8 +48,10 @@ const registration = { async submit () { this.user.nickname = this.user.username this.user.token = this.token + this.user.captcha_solution = this.captcha.solution this.user.captcha_token = this.captcha.token + this.user.captcha_answer_data = this.captcha.answer_data this.$v.$touch() diff --git a/src/components/registration/registration.vue b/src/components/registration/registration.vue index f187e215..1455354e 100644 --- a/src/components/registration/registration.vue +++ b/src/components/registration/registration.vue @@ -76,15 +76,16 @@
+ +
diff --git a/src/i18n/en.json b/src/i18n/en.json index f445bfc2..3662c6f6 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -74,6 +74,8 @@ "password_confirm": "Password confirmation", "registration": "Registration", "token": "Invite token", + "captcha": "CAPTCHA", + "new_captcha": "Click the image to get a new captcha", "validations": { "username_required": "cannot be left blank", "fullname_required": "cannot be left blank",