mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 00:49:02 +00:00
Merge pull request #1088 from TorstenDittmann/feat-abuse-limit-teaminvite-storage
Feat: Introduce new abuse limits
This commit is contained in:
commit
e61f50f514
2 changed files with 7 additions and 0 deletions
|
|
@ -3,10 +3,16 @@
|
|||
## Features
|
||||
|
||||
- Anonymous login
|
||||
|
||||
## Bugs
|
||||
|
||||
- Fixed default value for HTTPS force option
|
||||
|
||||
## Breaking Changes (Read before upgrading!)
|
||||
|
||||
- Introdcues rate limits for:
|
||||
- Team invite (10 requests in every 60 minutes per IP address)
|
||||
|
||||
# Version 0.7.2
|
||||
|
||||
## Features
|
||||
|
|
|
|||
|
|
@ -261,6 +261,7 @@ App::post('/v1/teams/:teamId/memberships')
|
|||
->label('sdk.response.code', Response::STATUS_CODE_CREATED)
|
||||
->label('sdk.response.type', Response::CONTENT_TYPE_JSON)
|
||||
->label('sdk.response.model', Response::MODEL_MEMBERSHIP)
|
||||
->label('abuse-limit', 10)
|
||||
->param('teamId', '', new UID(), 'Team unique ID.')
|
||||
->param('email', '', new Email(), 'New team member email.')
|
||||
->param('name', '', new Text(128), 'New team member name. Max length: 128 chars.', true)
|
||||
|
|
|
|||
Loading…
Reference in a new issue