1
0
Fork 0

Remove password related options from Devise model

This commit is contained in:
Andrew Tomaka 2013-04-13 01:52:12 -04:00
parent a2915388d9
commit 9247af6dea

View file

@ -2,10 +2,10 @@ class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :token_authenticatable, :confirmable,
# :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable,
:recoverable, :rememberable, :trackable, :validatable
devise :database_authenticatable, :rememberable, :trackable, :validatable
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :password, :password_confirmation, :remember_me, :username
attr_accessible :email, :password, :password_confirmation, :remember_me
attr_accessible :username
# attr_accessible :title, :body
end