Skip to content

Commit

Permalink
Upd: Enable IDP login if configured
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Nov 16, 2023
1 parent 04214d8 commit 2a4c67d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Components/Login/Login.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,9 @@ class Login extends Component {
</div>
</Form.Item>
<Divider className="login-divider" />
{store.idpConfig !== undefined || store.idpConfig !== null ? (
{!(store.idpConfig === undefined || store.idpConfig === null) ? (
<div className="login-actions">
{console.log(store.idpConfig)}
<a onClick={this.handleOidcLogin}>Login with {data.name}</a>
</div>
) : null}
Expand Down

0 comments on commit 2a4c67d

Please sign in to comment.