aboutsummaryrefslogtreecommitdiff
path: root/src/components/registration/registration.js
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2022-03-29 15:35:18 +0300
committerHenry Jameson <me@hjkos.com>2022-03-29 15:35:18 +0300
commit5bbc0e0bb5f4a0c95674e6879975e6b5121b421e (patch)
tree5a830732a06df57e8e3f4771fed7eedacc4d3950 /src/components/registration/registration.js
parent3799983d4f89cad4dbf4595f49a768a66b72b07e (diff)
lint + fixes for registration
Diffstat (limited to 'src/components/registration/registration.js')
-rw-r--r--src/components/registration/registration.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/registration/registration.js b/src/components/registration/registration.js
index 531cc480..a792fb7b 100644
--- a/src/components/registration/registration.js
+++ b/src/components/registration/registration.js
@@ -24,7 +24,7 @@ const registration = {
password: { required },
confirm: {
required,
- sameAsPassword: sameAs('password')
+ sameAs: sameAs(this.password)
},
reason: { required: requiredIf(() => this.accountApprovalRequired) }
}