diff options
Diffstat (limited to 'webAO/dom/twofactor.ts')
| -rw-r--r-- | webAO/dom/twofactor.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/webAO/dom/twofactor.ts b/webAO/dom/twofactor.ts index 58bbc4c..4f5fa81 100644 --- a/webAO/dom/twofactor.ts +++ b/webAO/dom/twofactor.ts @@ -1,8 +1,7 @@ import { client } from "../client"; -import setCookie from "../utils/setCookie"; export function hcallback(hcaptcharesponse: string) { - setCookie("hdid", client.hdid); + localStorage.setItem("hdid", client.hdid); client.sender.sendServer(`2T#${hcaptcharesponse}#%`); location.reload(); } |
