mirror of
https://github.com/KeyZox71/knl_meowscendence.git
synced 2025-12-31 21:56:41 +01:00
「🔨」 fix: working error handling
This commit is contained in:
@ -59,6 +59,7 @@ export default class extends Aview {
|
|||||||
const username = (document.getElementById("username") as HTMLInputElement).value;
|
const username = (document.getElementById("username") as HTMLInputElement).value;
|
||||||
const password = (document.getElementById("password") as HTMLInputElement).value;
|
const password = (document.getElementById("password") as HTMLInputElement).value;
|
||||||
const totpPin = (document.getElementById('totpPin') as HTMLInputElement).value;
|
const totpPin = (document.getElementById('totpPin') as HTMLInputElement).value;
|
||||||
|
const idWindow = (document.getElementById('2fa-popup-content') as HTMLInputElement);
|
||||||
try {
|
try {
|
||||||
const data_req = await fetch("http://localhost:3001/login", {
|
const data_req = await fetch("http://localhost:3001/login", {
|
||||||
method: "POST",
|
method: "POST",
|
||||||
|
|||||||
Reference in New Issue
Block a user