Something went wrong on our end. Please try again.
Created by: unknwon
This PR adds a so-called "email verification cool down" mechanism to prevent abuse someone else's email in high frequency, this mechanism could be used for single email.
Notes:
{ "email.verification": { "coolDown": "30s" } }
(naming subject to change if there is a better one!)Manually tested and added unit tests.
Fixes sourcegraph/security-issues#55.