aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEkaterina Vaartis <vaartis@cock.li>2018-12-21 00:25:09 +0300
committerEkaterina Vaartis <vaartis@cock.li>2018-12-21 00:25:09 +0300
commit8470856045d2eef0ced9115bfe994a280c88c919 (patch)
tree7df39c29a9477e257443ab303e412decfa8933e8 /src
parent2921a25cb4979c2b9fa359e5137c046bdd0d1bcc (diff)
Add encrypted captcha_answer_data for stateless captcha
Diffstat (limited to 'src')
-rw-r--r--src/components/registration/registration.js2
1 files changed, 2 insertions, 0 deletions
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()