Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
- don't show forgotten password link for role selection #1878
Browse files Browse the repository at this point in the history
  • Loading branch information
siemiatj committed Aug 14, 2018
1 parent 9414f13 commit 530b6c0
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/components/app/LoginForm.js
Original file line number Diff line number Diff line change
Expand Up @@ -302,14 +302,16 @@ class LoginForm extends Component {
: counterpart.translate('login.callToAction')}
</button>
</div>
<div className="mt-2 text-center">
<a
className="forgot-password-link"
onClick={this.handleForgotPassword}
>
{counterpart.translate('login.forgotPassword.caption')}
</a>
</div>
{!roleSelect && (
<div className="mt-2 text-center">
<a
className="forgot-password-link"
onClick={this.handleForgotPassword}
>
{counterpart.translate('login.forgotPassword.caption')}
</a>
</div>
)}
</div>
);
}
Expand Down

0 comments on commit 530b6c0

Please sign in to comment.