Remove default enabling of gravatar, check on initial confirmation of e-mail address and on any changes afterward if
a gravatar exists and enable then if the user hasn't uploaded a picture.
This commit is contained in:
parent
224252fd83
commit
05cd781b25
4 changed files with 34 additions and 2 deletions
|
@ -0,0 +1,9 @@
|
|||
class SetDefaultGravatarToFalseForPrivacy < ActiveRecord::Migration
|
||||
def up
|
||||
change_column :users, :image_use_gravatar, :boolean, :default => false
|
||||
end
|
||||
|
||||
def down
|
||||
change_column :users, :image_use_gravatar, :boolean, :default => true
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue