briffy / PiscesQoLDashboard

This is a replacement dashboard for the Pisces Helium Miner
43 stars 25 forks source link

Issue #30 password reset fix #31

Open lt-columbo opened 2 years ago

lt-columbo commented 2 years ago

Added encodeURIComponent() call to building of reset parameters ResetPassword() in functions.js Added maxlength=128 for password fields in ResetPasswordPrompt() for sanity check Removed htmlentities() and striptags() calls on password fields in ResetPassword.php as changes the value of the password and they're not echo'd to browser. added substr(xxx,0,128) to limit length of passwords to 128 for sanity