mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-08-26 11:55:50 -05:00
[GH-ISSUE #1818] Attachment size limit displayed to user does not match the limit imposed in the Vaultwarden admin panel #34021
Reference in New Issue
Block a user
Originally created by @ghost on GitHub (Jul 2, 2021).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/1818
This upload will fail and will return the shown error due to the size restriction set by the admin using the admin panel. It is set to 50MB in this example.
@BlackDex commented on GitHub (Jul 2, 2021):
Those are hard-coded limits in the web-vault, and not something we can change on-the-fly, per server.
What we can do is change the error message to indicate what the limit is so that it will be more clear.
@BlackDex commented on GitHub (Jul 5, 2021):
I have checked the code a bit better, and the size limit you can configure isn't per attachment, but as a total amount of storage. The wording is a bit off, so i think we should change that.