This commit is contained in:
2026-01-10 18:24:54 +01:00
parent ad37e26426
commit be7e3b88d5
3 changed files with 5 additions and 4 deletions
+3 -3
View File
@@ -87,14 +87,14 @@ export class LoginWindow extends fenetre {
}
async connexion() {
const response = await fetch("/api/login", {
const response = await fetch("/api/auth/login", {
method: "POST",
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
username: "nom",
password: "a"
username: this.username.value,
password: this.password.value
})
});