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:
parent
c58135bac5
commit
ef354e7083
@ -72,16 +72,6 @@
|
||||
"Period": "1s",
|
||||
"Limit": 5
|
||||
},
|
||||
{
|
||||
"Endpoint": "post:/auth/token",
|
||||
"Period": "1m",
|
||||
"Limit": 10
|
||||
},
|
||||
{
|
||||
"Endpoint": "post:/auth/token/two-factor",
|
||||
"Period": "1m",
|
||||
"Limit": 5
|
||||
},
|
||||
{
|
||||
"Endpoint": "post:/accounts/register",
|
||||
"Period": "1m",
|
||||
@ -99,7 +89,17 @@
|
||||
},
|
||||
{
|
||||
"Endpoint": "post:/account/email",
|
||||
"Period": "10m",
|
||||
"Limit": 5
|
||||
},
|
||||
{
|
||||
"Endpoint": "post:/account/verify-email-token",
|
||||
"Period": "1m",
|
||||
"Limit": 2
|
||||
},
|
||||
{
|
||||
"Endpoint": "post:/account/verify-email",
|
||||
"Period": "10m",
|
||||
"Limit": 5
|
||||
},
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user