diff options
author | Christopher De Cairos <cade@mozillafoundation.org> | 2015-08-25 16:13:19 -0400 |
---|---|---|
committer | Christopher De Cairos <cade@mozillafoundation.org> | 2015-08-25 16:13:19 -0400 |
commit | 3bf0f58bc8619da4ac4c33df348680ccf012745b (patch) | |
tree | 8bc409fc53cea6fb0bdaeaf271f69e5f9391fdac | |
parent | 8fbacc46a5fb58203e54fc393a2cd081fb541d96 (diff) |
Pass boolean flag into password-reset-success component instead of a string
-rw-r--r-- | templates/pages/login.jsx | 2 | ||||
-rw-r--r-- | templates/pages/reset-password.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/pages/login.jsx b/templates/pages/login.jsx index 307e0e4..1868d5a 100644 --- a/templates/pages/login.jsx +++ b/templates/pages/login.jsx @@ -68,7 +68,7 @@ var Login = React.createClass({ <div className={wrapperClass}> {this.queryObj.passwordReset ? - <PasswordResetSuccess/> : false + <PasswordResetSuccess android={false}/> : false } <div className="loginPage innerForm"> diff --git a/templates/pages/reset-password.jsx b/templates/pages/reset-password.jsx index 4f5eff2..22741ea 100644 --- a/templates/pages/reset-password.jsx +++ b/templates/pages/reset-password.jsx @@ -39,7 +39,7 @@ var ResetPassword = React.createClass({ if (this.state.resetSuccess) { content = ( <div className="centerDiv smallWrapper"> - <PasswordResetSuccess android="true"/> + <PasswordResetSuccess android={true}/> </div> ); } else { |