diff options
author | David Lu <david.lu@hotmail.com> | 2016-05-25 14:00:07 -0400 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2016-05-25 14:00:07 -0400 |
commit | dd18b98b0b8c6dfd3011e527367844e8af920edb (patch) | |
tree | 3f4805e485da91203546a1a61364bed4d5389565 /webapp/components/password_reset_form.jsx | |
parent | e9d1289fb0c9a65ca53904dc424a7fb5a5b9b1a9 (diff) | |
download | chat-dd18b98b0b8c6dfd3011e527367844e8af920edb.tar.gz chat-dd18b98b0b8c6dfd3011e527367844e8af920edb.tar.bz2 chat-dd18b98b0b8c6dfd3011e527367844e8af920edb.zip |
Removed all password trimming (#3109)
Diffstat (limited to 'webapp/components/password_reset_form.jsx')
-rw-r--r-- | webapp/components/password_reset_form.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/components/password_reset_form.jsx b/webapp/components/password_reset_form.jsx index 23b8952cc..887bc0c8e 100644 --- a/webapp/components/password_reset_form.jsx +++ b/webapp/components/password_reset_form.jsx @@ -22,7 +22,7 @@ class PasswordResetForm extends React.Component { handlePasswordReset(e) { e.preventDefault(); - const password = ReactDOM.findDOMNode(this.refs.password).value.trim(); + const password = ReactDOM.findDOMNode(this.refs.password).value; if (!password || password.length < Constants.MIN_PASSWORD_LENGTH) { this.setState({ error: ( |