FIX: Do not mark badge image uploads as secure (#13193)

* FIX: Do not mark badge image uploads as secure

We do not need badge_image upload types to be marked as secure.
Post migration is the same as
https://github.com/discourse/discourse/pull/12081.

See
https://meta.discourse.org/t/secure-media-uploads/140017/122?u=martin
This commit is contained in:
Martin Brennan
2021-05-28 12:35:52 +10:00
committed by GitHub
parent 964da21817
commit 501de809da
4 changed files with 43 additions and 1 deletions

View File

@ -26,6 +26,7 @@ class UploadSecurity
category_logo
category_background
group_flair
badge_image
]
def self.register_custom_public_type(type)