forked from leftypol/leftypol
main.js: fix captcha selection check
This commit is contained in:
parent
fb48c74565
commit
7b98295dcf
1 changed files with 1 additions and 1 deletions
|
@ -248,7 +248,7 @@ function is_dynamic_captcha_enabled() {
|
|||
function get_captcha_pub_key() {
|
||||
{% if config.recaptcha %}
|
||||
return "{{ config.recaptcha_public }}";
|
||||
{% elseif config.turnstile_public %}
|
||||
{% elseif config.turnstile %}
|
||||
return "{{ config.turnstile_public }}";
|
||||
{% else %}
|
||||
return null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue