troyhunt / password-purgatory

Deliberately making password creation a true hell
158 stars 14 forks source link

Allow submit with keyboard #4

Closed chk1 closed 2 years ago

chk1 commented 2 years ago

I added a <form> and moved the onclick to onsubmit, now allows to send passwords on keyboard enter (fail fast, fail often...).

Had to rename the submit JS function to something else (submitHell) or browser would to a POST.