FEATURE: Make allow_uploaded_avatars accept TL (#14091)

This gives admins more control over who can upload custom profile
pictures.
This commit is contained in:
Bianca Nenciu
2021-08-24 10:46:28 +03:00
committed by GitHub
parent eb6d66fe6f
commit ff367e22fb
12 changed files with 122 additions and 14 deletions

View File

@ -144,7 +144,7 @@ describe ComposerMessagesFinder do
end
it "doesn't notify users if 'allow_uploaded_avatars' setting is disabled" do
SiteSetting.allow_uploaded_avatars = false
SiteSetting.allow_uploaded_avatars = 'disabled'
expect(finder.check_avatar_notification).to be_blank
end
end