summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher De Cairos <cade@mozillafoundation.org>2015-08-25 16:13:19 -0400
committerChristopher De Cairos <cade@mozillafoundation.org>2015-08-25 16:13:19 -0400
commit3bf0f58bc8619da4ac4c33df348680ccf012745b (patch)
tree8bc409fc53cea6fb0bdaeaf271f69e5f9391fdac
parent8fbacc46a5fb58203e54fc393a2cd081fb541d96 (diff)
Pass boolean flag into password-reset-success component instead of a string
-rw-r--r--templates/pages/login.jsx2
-rw-r--r--templates/pages/reset-password.jsx2
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 {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback