aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/twofactor.ts
diff options
context:
space:
mode:
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;