users: add user name blacklist.

This commit is contained in:
evazion
2020-04-06 14:12:57 -05:00
parent 1e0f6f730a
commit 6d615001e4
3 changed files with 13 additions and 0 deletions

View File

@@ -69,6 +69,11 @@ module Danbooru
true
end
# An array of regexes containing disallowed usernames.
def user_name_blacklist
[]
end
# Thumbnail size
def small_image_width
150