diff options
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; |
