dburl geaendert
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
const username = document.getElementById('emailInput').value;
|
||||
const password = document.getElementById('passwordInput').value;
|
||||
const errorDisplay = document.getElementById('error');
|
||||
const data = await response.json().catch(() => ({ message: "Server antwortet nicht lesbar" }));
|
||||
|
||||
// Entscheide, an welche Tür (URL) wir klopfen
|
||||
const endpoint = isRegisterMode ? '/auth/register' : '/auth/login';
|
||||
|
||||
Reference in New Issue
Block a user