forked from e621ng/e621ng
[Config] Decouple default blacklist from user customization
This commit is contained in:
parent
eaa1bc10b2
commit
f744463d29
@ -85,17 +85,17 @@ module Danbooru
|
||||
|
||||
# Set the default level, permissions, and other settings for new users here.
|
||||
def customize_new_user(user)
|
||||
user.blacklisted_tags = default_blacklist.join("\n")
|
||||
user.comment_threshold = -10
|
||||
user.enable_keyboard_navigation = true
|
||||
user.enable_auto_complete = true
|
||||
user.enable_keyboard_navigation = true
|
||||
user.per_page = 75
|
||||
user.show_post_statistics = true
|
||||
user.style_usernames = true
|
||||
user.blacklisted_tags = 'gore
|
||||
scat
|
||||
watersports
|
||||
young -rating:s
|
||||
loli
|
||||
shota
|
||||
fart'
|
||||
end
|
||||
|
||||
def default_blacklist
|
||||
[]
|
||||
end
|
||||
|
||||
# This allows using statically linked copies of ffmpeg in non default locations. Not universally supported across
|
||||
|
Loading…
Reference in New Issue
Block a user