allow uploaded avatars by default

This commit is contained in:
Sam 2013-08-05 14:08:08 +10:00
parent 5f46dfedf1
commit 6e97ddc8ef
1 changed files with 1 additions and 1 deletions

View File

@ -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)