diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-04-07 03:16:18 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-04-18 16:52:23 +0000 |
| commit | ae7ef2c6c76947ea12cbb1592152d9c80fd1a8f3 (patch) | |
| tree | aafbf04224cb5eb8762a11eed3983dfa2e7d795d /webAO/dom/twofactor.ts | |
| parent | 4bd750ca1f3e446f68e0f88fabf0682fd4d61848 (diff) | |
Remove defunct CAPTCHA
The hCaptcha integration has been abandoned for a while. It added yet
another questionable third-party API (which also set a Cloudflare
cookie), and its effectiveness is unclear considering its client-side
nature.
A custom CAPTCHA implementation (such as PoW challenge) is an
interesting prospect, but it'll require proper server-side support.
Diffstat (limited to 'webAO/dom/twofactor.ts')
| -rw-r--r-- | webAO/dom/twofactor.ts | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/webAO/dom/twofactor.ts b/webAO/dom/twofactor.ts deleted file mode 100644 index 4f5fa81..0000000 --- a/webAO/dom/twofactor.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { client } from "../client"; - -export function hcallback(hcaptcharesponse: string) { - localStorage.setItem("hdid", client.hdid); - client.sender.sendServer(`2T#${hcaptcharesponse}#%`); - location.reload(); -} - -window.hcallback = hcallback; |
