mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-04 13:20:19 +08:00
Show "canSignUp" column when password is ON.
This commit is contained in:
@ -194,7 +194,7 @@ class ProviderTable extends React.Component {
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
if (!this.props.application.enableSignUp || this.props.application.enablePassword) {
|
if (!this.props.application.enableSignUp) {
|
||||||
columns = columns.filter(column => column.key !== "canSignUp");
|
columns = columns.filter(column => column.key !== "canSignUp");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user