Fix recaptcha check

This commit is contained in:
Jesse 2020-07-08 13:46:50 -04:00
parent 6e178e2eed
commit 33c7752cfa
No known key found for this signature in database
GPG key ID: 1A8AB3257B32D91F

View file

@ -23,7 +23,7 @@ class RegistrationView extends events.EventTarget {
this._formNode.addEventListener("submit", (e) => this._evtSubmit(e)); this._formNode.addEventListener("submit", (e) => this._evtSubmit(e));
this.setRecaptchaToken = this.setRecaptchaToken.bind(this); this.setRecaptchaToken = this.setRecaptchaToken.bind(this);
if (showRecaptcha) if (api.recaptchaEnabled())
this.renderRecaptcha(); this.renderRecaptcha();
} }