summaryrefslogtreecommitdiffstats
path: root/web/react/components/login.jsx
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-08-31 14:06:14 -0400
committerJoramWilander <jwawilander@gmail.com>2015-08-31 14:06:14 -0400
commit99865933ef333387995de4f8d0ddebcc8309c7d3 (patch)
tree515ccd25ae71c4b6e177baef0bcf22f25a2c46c5 /web/react/components/login.jsx
parent82a54f9363e3a6b7d4268ef951ac427e94deacb2 (diff)
downloadchat-99865933ef333387995de4f8d0ddebcc8309c7d3.tar.gz
chat-99865933ef333387995de4f8d0ddebcc8309c7d3.tar.bz2
chat-99865933ef333387995de4f8d0ddebcc8309c7d3.zip
Fix missing forgot password link.
Diffstat (limited to 'web/react/components/login.jsx')
-rw-r--r--web/react/components/login.jsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/react/components/login.jsx b/web/react/components/login.jsx
index 0f3aa42db..28dd64c39 100644
--- a/web/react/components/login.jsx
+++ b/web/react/components/login.jsx
@@ -152,7 +152,6 @@ export default class Login extends React.Component {
);
}
- var forgotPassword;
if (loginMessage.length > 0 && emailSignup) {
loginMessage = (
<div>
@@ -162,7 +161,10 @@ export default class Login extends React.Component {
</div>
</div>
);
+ }
+ var forgotPassword;
+ if (emailSignup) {
forgotPassword = (
<div className='form-group'>
<a href={'/' + teamName + '/reset_password'}>I forgot my password</a>