diff --git a/src/Api/Controllers/CiphersController.cs b/src/Api/Controllers/CiphersController.cs index 581f89cda0..69fe8aef8f 100644 --- a/src/Api/Controllers/CiphersController.cs +++ b/src/Api/Controllers/CiphersController.cs @@ -366,6 +366,7 @@ namespace Bit.Api.Controllers } [HttpPost("{id}/attachment")] + [RequestSizeLimit(105_906_176)] [DisableFormValueModelBinding] public async Task PostAttachment(string id) { @@ -389,6 +390,7 @@ namespace Bit.Api.Controllers } [HttpPost("{id}/attachment-admin")] + [RequestSizeLimit(105_906_176)] [DisableFormValueModelBinding] public async Task PostAttachmentAdmin(string id) {