mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-15 05:33:50 +08:00
Filter github providers.
This commit is contained in:
@ -316,7 +316,7 @@ class UserEditPage extends React.Component {
|
||||
<Col span={22} >
|
||||
<div style={{marginBottom: 20}}>
|
||||
{
|
||||
this.state.providers.map((provider, index) => this.renderIdp(provider))
|
||||
this.state.providers.filter(provider => Setting.isProviderVisible(provider)).map((provider, index) => this.renderIdp(provider))
|
||||
}
|
||||
</div>
|
||||
</Col>
|
||||
|
Reference in New Issue
Block a user