implemented brute force counter measure

This commit is contained in:
2025-08-27 19:09:56 +02:00
parent 55340bc929
commit e1f32c274b
8 changed files with 111 additions and 62 deletions

View File

@@ -43,8 +43,10 @@ export async function tryLogin(credentials){
if (response.ok){
const json = await response.json();
for (let key of Object.keys(json)) user[key] = json[key];
return null;
} else {
alert("Login failed!");
let json = await response.json();
return json;
}
}