Commit Graph

1 Commits (1c6b3b7c5574318f303cfa6ed4e5abe4c05b745e)

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