mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 06:51:27 +08:00
FIX: use allowlist and blocklist terminology (#10209)
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist.
This commit is contained in:

committed by
GitHub

parent
5077cf52fd
commit
e0d9232259
@ -22,6 +22,6 @@ class UserWithCustomFieldsSerializer < BasicUserSerializer
|
||||
|
||||
def custom_field_keys
|
||||
# Can be extended by other serializers
|
||||
User.whitelisted_user_custom_fields(scope)
|
||||
User.allowed_user_custom_fields(scope)
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user