Se soluciono authenticacion

This commit is contained in:
2025-08-05 15:09:35 -06:00
parent c9df4e3ab2
commit 42cafd54b9
6 changed files with 255 additions and 137 deletions

View File

@@ -7,7 +7,6 @@ export async function login(username, password) {
body: JSON.stringify({ username, password }),
});
console.log('API URL:', `${API_URL}/token/`);
if (!response.ok) {
throw new Error('Credenciales inválidas');
}