aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/Login.js
diff options
context:
space:
mode:
authorLibravatar haraldox <hnaumann+github@gmail.com>2018-01-19 10:03:05 +0100
committerLibravatar haraldox <hnaumann+github@gmail.com>2018-01-19 10:03:05 +0100
commit34949a6a005df240fa79f679675a0de1f3839776 (patch)
tree3704f5e4df56c43ac6724cdadcd5d34e5aeb3897 /src/components/auth/Login.js
parentMerge pull request #587 from meetfranz/feature/remove-miner (diff)
downloadferdium-app-34949a6a005df240fa79f679675a0de1f3839776.tar.gz
ferdium-app-34949a6a005df240fa79f679675a0de1f3839776.tar.zst
ferdium-app-34949a6a005df240fa79f679675a0de1f3839776.zip
fix property change due to mobx-react-form update
validate -> validators
Diffstat (limited to 'src/components/auth/Login.js')
-rw-r--r--src/components/auth/Login.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js
index 67e92849d..4a3cd6776 100644
--- a/src/components/auth/Login.js
+++ b/src/components/auth/Login.js
@@ -76,12 +76,12 @@ export default class Login extends Component {
76 email: { 76 email: {
77 label: this.context.intl.formatMessage(messages.emailLabel), 77 label: this.context.intl.formatMessage(messages.emailLabel),
78 value: '', 78 value: '',
79 validate: [required, email], 79 validators: [required, email],
80 }, 80 },
81 password: { 81 password: {
82 label: this.context.intl.formatMessage(messages.passwordLabel), 82 label: this.context.intl.formatMessage(messages.passwordLabel),
83 value: '', 83 value: '',
84 validate: [required], 84 validators: [required],
85 type: 'password', 85 type: 'password',
86 }, 86 },
87 }, 87 },