🔨」 fix: working error handling

This commit is contained in:
2025-10-23 14:15:54 +02:00
parent 5bbda2ab81
commit 8da2193d9e

View File

@ -59,6 +59,7 @@ export default class extends Aview {
const username = (document.getElementById("username") as HTMLInputElement).value;
const password = (document.getElementById("password") as HTMLInputElement).value;
const totpPin = (document.getElementById('totpPin') as HTMLInputElement).value;
const idWindow = (document.getElementById('2fa-popup-content') as HTMLInputElement);
try {
const data_req = await fetch("http://localhost:3001/login", {
method: "POST",