diff --git a/services/web/app/views/layout.pug b/services/web/app/views/layout.pug index f29d053ee3..80ce21f622 100644 --- a/services/web/app/views/layout.pug +++ b/services/web/app/views/layout.pug @@ -90,18 +90,9 @@ html( body - if(settings.recaptcha && (settings.recaptcha.siteKey || settings.recaptcha.siteKeyV3)) - if (settings.recaptcha.siteKeyV3) - script(src="https://www.google.com/recaptcha/api.js?render="+settings.recaptcha.siteKeyV3) - else - script(src="https://www.google.com/recaptcha/api.js?render=explicit") - div( - id="recaptcha" - class="g-recaptcha" - data-sitekey=settings.recaptcha.siteKey - data-size="invisible" - data-badge="inline" - ) + if(settings.recaptcha && settings.recaptcha.siteKeyV3) + script(src="https://www.google.com/recaptcha/api.js?render="+settings.recaptcha.siteKeyV3) + - if(typeof(suppressNavbar) == "undefined") include layout/navbar