perhaps fixed login error
This commit is contained in:
parent
2fd468c4f3
commit
d6d428df60
1 changed files with 3 additions and 1 deletions
|
@ -7,9 +7,11 @@ has_many :synapses
|
|||
has_many :maps
|
||||
has_many :mappings
|
||||
|
||||
before_create :generate_code
|
||||
before_create :generate_code
|
||||
|
||||
devise :database_authenticatable, :recoverable, :rememberable, :trackable, :registerable
|
||||
|
||||
attr_accessible :name, :email, :password, :password_confirmation, :remember_me
|
||||
|
||||
serialize :settings, UserPreference
|
||||
|
||||
|
|
Loading…
Reference in a new issue