1
0
mirror of https://github.com/Mailu/Mailu.git synced 2024-12-14 10:53:30 +02:00

untested but that should work

This commit is contained in:
Florent Daigniere 2022-11-03 18:38:55 +01:00
parent 001acd60ac
commit 14f802fb4a

View File

@ -129,7 +129,13 @@ $('document').ready(function() {
$("#pw").change(function(){
hibpCheck($("#pw").value);
return true;
})
});
$("#pw").closest("form").submit(function(event){
if($("#pwned").value > -1) {return;};
event.preventDefault();
hibpCheck($("#pw").value)
event.trigger();
});
}
});