summaryrefslogtreecommitdiffstats
path: root/web/react/components
diff options
context:
space:
mode:
Diffstat (limited to 'web/react/components')
-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>