forked from leftypol/leftypol
main.js: fix template
This commit is contained in:
parent
8223dcfbad
commit
b83be67b55
1 changed files with 1 additions and 0 deletions
|
@ -288,6 +288,7 @@ function onCaptchaLoad(renderer) {
|
|||
});
|
||||
}
|
||||
|
||||
{% if config.dynamic_captcha %}
|
||||
function isDynamicCaptchaEnabled() {
|
||||
let cookie = getCookie('captcha-required');
|
||||
return cookie === '1';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue