diff options
| author | Henry Jameson <me@hjkos.com> | 2022-03-29 20:00:59 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2022-03-29 20:00:59 +0300 |
| commit | 2179054384b8e528cea92a9c39db8cfb0c60e542 (patch) | |
| tree | b891d0071819cb9ac8817098ea074962115326a9 /src/components/registration/registration.js | |
| parent | 2d7f242713edc45dbcc2811cd86d8864d093ce3f (diff) | |
| parent | a3f48fc3f4230b283d62f55fcdf03247ae2ac481 (diff) | |
Merge branch 'vue3-again' into vue3-no-compat
* vue3-again:
fix warning about custom component
fix?
fix some issues with trees
removing uselsess stuff
fix reset buttons in profile again
fix spacing in poll expiration label
registration fixes
Diffstat (limited to 'src/components/registration/registration.js')
| -rw-r--r-- | src/components/registration/registration.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js index a792fb7b..a3ef0f04 100644 --- 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' }) |
