Edit history

[Self-hosted] Custom Avatar Max Size isn't honored has not been edited, so there are no earlier versions.

Current version | Original by Rex
Show

[Self-hosted] Custom Avatar Max Size isn't honored

Observed behaviour

After looking into changing Avatar Max Size, I realized that changing the value doesn't take effect. The limit can be changed in the admin page -> Limit Config -> Files & Attachments -> Avatar Max Size. During investigating the typeScript code responsible for the max size, I stumbled upon a fix value for the Avatar Max Size.

Reproduction steps

  1. Selfhost Fluxer
  2. Change the Avatar Max Size in the admin page to a higher value than the default (10 MB)
  3. Create a User
  4. Upload a Avatar bigger that the default size limit (10 MB)

Build information

Stable Web 2026.816.210712, Windows NT 10.0 (x64), Chrome 151.0.0.0, Locale en-US

Platform

Self-hosting

Evidence