mirror of
https://github.com/bitwarden/server
synced 2025-12-11 05:43:35 +00:00
rate limit email verification api endpoints
This commit is contained in:
@@ -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
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user