users: add config option to disable verification of new accounts.
Fixes #4618.
This commit is contained in:
@@ -9,6 +9,7 @@ class UserVerifier
|
||||
end
|
||||
|
||||
def requires_verification?
|
||||
return false if !Danbooru.config.new_user_verification?
|
||||
return false if is_local_ip?
|
||||
|
||||
# we check for IP bans first to make sure we bump the IP ban hit count
|
||||
|
||||
Reference in New Issue
Block a user