1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-26 12:55:17 +01:00

rate limit email verification api endpoints

This commit is contained in:
Kyle Spearrin 2017-09-26 21:58:28 -04:00
parent c58135bac5
commit ef354e7083

View File

@ -72,16 +72,6 @@
"Period": "1s", "Period": "1s",
"Limit": 5 "Limit": 5
}, },
{
"Endpoint": "post:/auth/token",
"Period": "1m",
"Limit": 10
},
{
"Endpoint": "post:/auth/token/two-factor",
"Period": "1m",
"Limit": 5
},
{ {
"Endpoint": "post:/accounts/register", "Endpoint": "post:/accounts/register",
"Period": "1m", "Period": "1m",
@ -99,7 +89,17 @@
}, },
{ {
"Endpoint": "post:/account/email", "Endpoint": "post:/account/email",
"Period": "10m",
"Limit": 5
},
{
"Endpoint": "post:/account/verify-email-token",
"Period": "1m", "Period": "1m",
"Limit": 2
},
{
"Endpoint": "post:/account/verify-email",
"Period": "10m",
"Limit": 5 "Limit": 5
}, },
{ {