Fix recaptcha check
This commit is contained in:
parent
6e178e2eed
commit
33c7752cfa
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ class RegistrationView extends events.EventTarget {
|
|||
this._formNode.addEventListener("submit", (e) => this._evtSubmit(e));
|
||||
this.setRecaptchaToken = this.setRecaptchaToken.bind(this);
|
||||
|
||||
if (showRecaptcha)
|
||||
if (api.recaptchaEnabled())
|
||||
this.renderRecaptcha();
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue