mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-25 19:52:41 +00:00
Add ability to block words in usernames (#35407)
This commit is contained in:
parent
8cf7a77808
commit
20bbd20ef1
28 changed files with 560 additions and 34 deletions
|
|
@ -77,6 +77,9 @@ class Admin::ActionLogFilter
|
|||
update_user_role: { target_type: 'UserRole', action: 'update' }.freeze,
|
||||
update_ip_block: { target_type: 'IpBlock', action: 'update' }.freeze,
|
||||
unblock_email_account: { target_type: 'Account', action: 'unblock_email' }.freeze,
|
||||
create_username_block: { target_type: 'UsernameBlock', action: 'create' }.freeze,
|
||||
update_username_block: { target_type: 'UsernameBlock', action: 'update' }.freeze,
|
||||
destroy_username_block: { target_type: 'UsernameBlock', action: 'destroy' }.freeze,
|
||||
}.freeze
|
||||
|
||||
attr_reader :params
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue