Closed DorianCoding closed 3 months ago
Hello, with strict CSP configuration, you will have to apply CSS in your app. You can use the altcha.css
or simply import 'altcha/altcha.css'
if you're using bundlers (requires min version 0.4.1
).
The issues with onfocus
is fixed in the latest version 0.4.1
.
Hello,
Hello, with strict CSP configuration, you will have to apply CSS in your app. You can use the
altcha.css
or simplyimport 'altcha/altcha.css'
if you're using bundlers (requires min version0.4.1
).
I thought inline-styles, like inline-scripts, were allowed when loaded from a script with CSP3 strict-dynamic but that's not the case so yeah I'II do the fallback solution that is working fine. The script is not responsible.
The issues with
onfocus
is fixed in the latest version0.4.1
.
Okay I've extracted it from Github and it indeed seems to work now.
Thanks.
As suggested here, I added altcha.css
to my code, but I'm still getting a CSP error because the script is shipping the CSS inline code. Is there a way to prevent the script from adding the style?
I'm talking about the
Hello,
Would it be possible to make CSS of Altcha compliant with strict-dynamic CSP?
Secondly, when using
onfocus
, if we click on the submit button, the validation starts again, even if already validated and not expired and therefore we cannot submit the form :/Thanks.