mirror of
https://github.com/discourse/discourse.git
synced 2025-03-22 01:25:43 +08:00
allow uploaded avatars by default
This commit is contained in:
parent
5f46dfedf1
commit
6e97ddc8ef
@ -242,7 +242,7 @@ class SiteSetting < ActiveRecord::Base
|
||||
|
||||
setting(:username_change_period, 3) # days
|
||||
|
||||
client_setting(:allow_uploaded_avatars, false)
|
||||
client_setting(:allow_uploaded_avatars, true)
|
||||
|
||||
def self.generate_api_key!
|
||||
self.api_key = SecureRandom.hex(32)
|
||||
|
Loading…
x
Reference in New Issue
Block a user