summaryrefslogtreecommitdiff
path: root/ui/app/components/login.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/login.js')
-rw-r--r--ui/app/components/login.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/login.js b/ui/app/components/login.js
index 059551f9..00f52d5a 100644
--- a/ui/app/components/login.js
+++ b/ui/app/components/login.js
@@ -33,11 +33,11 @@ class Login extends React.Component {
usernameState: null, // username validation state
usernameError: false, // username help message
- password: null,
+ password: null, // the main password field
passwordState: null, // password validation state
passwordError: false, // password help message
- password2: null, // password confirmation
+ password2: null, // password confirmation
password2State: null, // password confirm validation state
password2Error: false, // password confirm help message
@@ -330,7 +330,7 @@ class Login extends React.Component {
maySubmit() {
let ok = (
- !this.stateLoading &&
+ !this.state.loading &&
!this.state.usernameError &&
this.state.username &&
this.state.password