logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://hacktivis.me/git/pleroma-fe.git
commit: 0afc955ebd54e7d242a4d796df38931eaecb40d5
parent afcfcce2e61ab5a4be8b618e61572d8eabe4ac7e
Author: Henry Jameson <me@hjkos.com>
Date:   Tue, 29 Mar 2022 16:08:57 +0300

registration fixes

Diffstat:

Msrc/components/registration/registration.js6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js @@ -24,7 +24,7 @@ const registration = { password: { required }, confirm: { required, - sameAs: sameAs(this.password) + sameAs: sameAs(this.user.password) }, reason: { required: requiredIf(() => this.accountApprovalRequired) } } @@ -65,9 +65,9 @@ const registration = { this.user.captcha_token = this.captcha.token this.user.captcha_answer_data = this.captcha.answer_data - this.$v.$touch() + this.v$.$touch() - if (!this.$v.$invalid) { + if (!this.v$.$invalid) { try { await this.signUp(this.user) this.$router.push({ name: 'friends' })