aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/twofactor.ts
diff options
context:
space:
mode:
authorstonedDiscord <stonedDiscord@users.noreply.github.com>2024-11-20 13:31:50 +0000
committerGitHub Action <actions@github.com>2024-11-20 13:31:50 +0000
commit6684f3fce6e90fd0574d7bab63b629554ab03ef6 (patch)
treeb2a62247d17e23a77af57aea355ba621666817c2 /webAO/dom/twofactor.ts
parent95a2d1361d84c61b454ebe506e6963b93f6d8dee (diff)
Prettified Code!
Diffstat (limited to 'webAO/dom/twofactor.ts')
-rw-r--r--webAO/dom/twofactor.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/webAO/dom/twofactor.ts b/webAO/dom/twofactor.ts
index b53f4cf..58bbc4c 100644
--- a/webAO/dom/twofactor.ts
+++ b/webAO/dom/twofactor.ts
@@ -2,9 +2,9 @@ import { client } from "../client";
import setCookie from "../utils/setCookie";
export function hcallback(hcaptcharesponse: string) {
- setCookie('hdid', client.hdid);
- client.sender.sendServer(`2T#${hcaptcharesponse}#%`);
- location.reload();
+ setCookie("hdid", client.hdid);
+ client.sender.sendServer(`2T#${hcaptcharesponse}#%`);
+ location.reload();
}
-window.hcallback = hcallback; \ No newline at end of file
+window.hcallback = hcallback;