Merge pull request #4120 from overleaf/jpa-captcha-other-domain

[misc] fetch re-captcha script from another domain: www.recaptcha.net

GitOrigin-RevId: b8871af07be75e4f6ea01e7b791e877944753763
This commit is contained in:
Brian Gough 2021-06-01 09:00:39 +01:00 committed by Copybot
parent 5bd973ddd2
commit fd6a0dcb1d

View file

@ -105,7 +105,7 @@ html(
body(ng-csp=(cspEnabled ? "no-unsafe-eval" : false)) body(ng-csp=(cspEnabled ? "no-unsafe-eval" : false))
if(settings.recaptcha && settings.recaptcha.siteKeyV3) if(settings.recaptcha && settings.recaptcha.siteKeyV3)
script(type="text/javascript", nonce=scriptNonce, src="https://www.google.com/recaptcha/api.js?render="+settings.recaptcha.siteKeyV3) script(type="text/javascript", nonce=scriptNonce, src="https://www.recaptcha.net/recaptcha/api.js?render="+settings.recaptcha.siteKeyV3)
if (typeof(suppressNavbar) == "undefined") if (typeof(suppressNavbar) == "undefined")