aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--public/client.html4
-rw-r--r--webAO/dom/twofactor.ts1
2 files changed, 2 insertions, 3 deletions
diff --git a/public/client.html b/public/client.html
index ea06de6..81400fb 100644
--- a/public/client.html
+++ b/public/client.html
@@ -54,7 +54,7 @@
<center>
<p>You need to authorize to continue</p>
<div id="g_id_onload"
- data-client_id="107239014890-eo1vg90jdn2l7fgudsp9mdk8c1nraq0g.apps.googleusercontent.com"
+ data-client_id="107239014890-eo1vg90jdn2l7fgudsp9mdk8c1nraq0g"
data-context="use"
data-ux_mode="popup"
data-callback="handleCredentialResponse"
@@ -522,7 +522,7 @@
<br>
<p>Ini editing (experimental)</p>
<label for="client_ininame">Iniedit Character:</label>
- <input type="text" id="client_ininame" name="client_ininame"></select>
+ <select id="client_ininame" name="client_ininame"></select>
<button id="client_inichange" onclick="iniedit()">Change</button>
<br>
<br>
diff --git a/webAO/dom/twofactor.ts b/webAO/dom/twofactor.ts
index de569b9..b7e947a 100644
--- a/webAO/dom/twofactor.ts
+++ b/webAO/dom/twofactor.ts
@@ -1,7 +1,6 @@
import { client } from "../client";
function handleCredentialResponse(response: any) {
- console.log(response);
client.sender.sendServer(`2T#${response.credential}#%`);
}
window.handleCredentialResponse = handleCredentialResponse;