You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in that case currently it looks broken. I fixed this for capsul by moving the part that draws the captcha into the progress update handler. that way it only draws if the webworker/wasm is functioning. Also, the readme and example should not disable the submit button in that case. Just handle submit without PoW in some other way on the server side.
<div class="row half-margin">
<h1>ONE MORE THING</h1>
</div>
<div class="row half-margin">
<div>
<p>Spam bots have been hammering our login page and hurting our email server's reputation.</p>
<p>Please send us an email ( <a href="mailto:logins@capsul.org?subject=let%20me%20in">logins@capsul.org</a> ) to let us know you are a real person.</p>
<p>Once we recieve the email, this page should finish loading.</p>
<p>logins@capsul.org</p>
</div>
</div>
The text was updated successfully, but these errors were encountered:
ForestJohnson
changed the title
What if the users browser does not support webworker / wasm?
What if the users browser has JS turned on but not support webworker / wasm?
Dec 10, 2024
in that case currently it looks broken. I fixed this for capsul by moving the part that draws the captcha into the progress update handler. that way it only draws if the webworker/wasm is functioning. Also, the readme and example should not disable the submit button in that case. Just handle submit without PoW in some other way on the server side.
See the capsul repo for an example of this:
https://git.cyberia.club/cyberia/capsul-flask/src/branch/main/capsulflask/auth.py#L105-L106
https://git.cyberia.club/cyberia/capsul-flask/src/branch/main/capsulflask/auth.py#L173-L188
https://git.cyberia.club/cyberia/capsul-flask/src/branch/main/capsulflask/templates/email_request.html#L10-L20
The text was updated successfully, but these errors were encountered: