mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:08:10 +08:00
New job (default off) to detect whether users have uploaded custom avatars by contacting Gravatar.
This commit is contained in:
@ -254,6 +254,9 @@ class SiteSetting < ActiveRecord::Base
|
||||
client_setting(:allow_uploaded_avatars, true)
|
||||
client_setting(:allow_animated_avatars, false)
|
||||
|
||||
setting(:detect_custom_avatars, false)
|
||||
setting(:max_daily_gravatar_crawls, 500)
|
||||
|
||||
def self.generate_api_key!
|
||||
self.api_key = SecureRandom.hex(32)
|
||||
end
|
||||
|
Reference in New Issue
Block a user