fixes #2478: Add links for easy opt-out of emails
This commit is contained in:
@@ -360,6 +360,10 @@ module Danbooru
|
||||
false
|
||||
end
|
||||
|
||||
def email_key
|
||||
"zDMSATq0W3hmA5p3rKTgD"
|
||||
end
|
||||
|
||||
# For downloads, if the host matches any of these IPs, block it
|
||||
def banned_ip_for_download?(ip_addr)
|
||||
raise ArgumentError unless ip_addr.is_a?(IPAddr)
|
||||
|
||||
Reference in New Issue
Block a user