feat(config): add EnableUserAvatarUpload flag

This commit is contained in:
Deluan 2026-09-07 18:53:38 -04:00
commit 962910f0de
6 changed files with 15 additions and 0 deletions

View file

@ -64,6 +64,7 @@ func serveIndex(ds model.DataStore, fs fs.FS, shareInfo *model.Share) http.Handl
"devActivityPanel": conf.Server.DevActivityPanel,
"enableUserEditing": conf.Server.EnableUserEditing,
"enableArtworkUpload": conf.Server.EnableArtworkUpload,
"enableUserAvatarUpload": conf.Server.EnableUserAvatarUpload,
"enableSharing": conf.Server.EnableSharing,
"shareURL": conf.Server.ShareURL,
"defaultDownloadableShare": conf.Server.DefaultDownloadableShare,