Commit Graph

1 Commits (9b6bcca1baa62b6507d7de03941c7faf2a1a55fe)

Author SHA1 Message Date
James Elliott 9a8c6602dd
fix(middlewares): smart delay on reset password (#2767)
This adds a smart delay on reset password attempts to prevent username enumeration. Additionally utilizes crypto rand instead of math rand. It also moves the timing delay functionality into its own handler func.
2022-01-21 10:46:13 +11:00