mirror of
https://github.com/bitwarden/server.git
synced 2025-04-08 06:28:14 -05:00
rate limit email verification api endpoints
This commit is contained in:
parent
c58135bac5
commit
ef354e7083
@ -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
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user