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
|
setting(:username_change_period, 3) # days
|
||||||
|
|
||||||
client_setting(:allow_uploaded_avatars, false)
|
client_setting(:allow_uploaded_avatars, true)
|
||||||
|
|
||||||
def self.generate_api_key!
|
def self.generate_api_key!
|
||||||
self.api_key = SecureRandom.hex(32)
|
self.api_key = SecureRandom.hex(32)
|
||||||
|
|
Loading…
Reference in New Issue