diff options
author | elijah <elijah@riseup.net> | 2016-09-29 17:00:47 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2016-09-29 17:00:47 -0700 |
commit | 10b0b4462107ecebffab4ce3eb0435d3c1b2dd24 (patch) | |
tree | 14ae6e69e56f53eacb299d59b0f6a1beda3063b8 /ui/app/components/login.js | |
parent | e7281dd47f375c1b0a72ae85505319c4d87fb524 (diff) |
[feat] ui - allow users to change their passwords
Diffstat (limited to 'ui/app/components/login.js')
-rw-r--r-- | ui/app/components/login.js | 6 |
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 |