mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-17 04:03:23 +08:00
fix: enable captcha in the application which is not built-in (#1061)
This commit is contained in:
@ -625,6 +625,7 @@ class LoginPage extends React.Component {
|
||||
<CountDownInput
|
||||
disabled={this.state.username?.length === 0 || !this.state.validEmailOrPhone}
|
||||
onButtonClickArgs={[this.state.username, this.state.validEmail ? "email" : "phone", Setting.getApplicationName(application)]}
|
||||
application={application}
|
||||
/>
|
||||
</Form.Item>
|
||||
) : (
|
||||
|
Reference in New Issue
Block a user