Commit Graph

1 Commits (2e2096023ce8cd60e2dca81f8df9c657be9b9a8a)

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