healthchecks_healthchecks/templates
Pēteris Caune 18585d163d
Improve double-submit prevention in the TOTP form
Chrome users could submit the form multiple time by entering the TOTP
code and then pressing Enter key, or clicking the onscreen submit
button. This would be less likely on low latency connections (because
auto-submit would complete before the user presses Enter key) but quite
doable on high latency connections.

The fix is to attach an event handler to form's "onsubmit" events.
The handler lets the first event through, and call preventDefault()
on subsequent events. This takes care of:

* programmatic submits by calling form.requestSubmit()
* Enter key in an input field
* click on the onscreen submit button
2025-03-14 10:43:58 +02:00
..
accounts Improve double-submit prevention in the TOTP form 2025-03-14 10:43:58 +02:00
admin Improve type hints, simplify pagination in Ping admin 2023-10-04 16:00:41 +03:00
docs Improve wording 2025-03-14 09:52:41 +02:00
emails Move repeating flip reason descriptions to Flip.reason_long() 2024-12-16 14:35:36 +02:00
front Add "Monitoring Systemd tasks" docs page 2025-03-13 11:05:51 +02:00
integrations Update docs about authenticated prometheus metrics endpoint 2025-03-03 16:59:02 +02:00
bad_link.html More secure unsubscribe links for monthly reports. 2017-10-18 15:53:08 +03:00
badge.svg Fix kerning issue in SVG badge on Windows 10 2024-11-15 16:49:26 +02:00
base.html Rename "sign in" to "log in" 2024-08-12 15:09:58 +03:00
base_bare.html {% site_name %} -> {{ site_name }} so we can use blocktrans tags for L10N 2020-07-21 17:59:39 +03:00
base_project.html Fix base_project to not include project modal for unauthenticated users 2023-06-12 09:33:37 +03:00
try_later.html Rate limiting for the "Log In" emails 2019-04-25 21:28:40 +03:00