Commit a2f208b0 authored by Steven Hancock's avatar Steven Hancock
Browse files

User model - mass-assignable attributes fix

`:username`, `:email` and `:remember_me` should be mass-assignable.

fixes #3377
parent 05c85617
......@@ -63,8 +63,9 @@ class User < ActiveRecord::Base
before_save :guard_unconfirmed_email,
:save_person!
attr_accessible :getting_started,
attr_accessible :username,
:email,
:getting_started,
:password,
:password_confirmation,
:language,
......@@ -73,7 +74,8 @@ class User < ActiveRecord::Base
:invitation_identifier,
:show_community_spotlight_in_stream,
:auto_follow_back,
:auto_follow_back_aspect_id
:auto_follow_back_aspect_id,
:remember_me
def self.all_sharing_with_person(person)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment