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:
parent
001acd60ac
commit
14f802fb4a
@ -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();
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user