mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 07:07:43 +08:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user