Remove password related options from Devise model
This commit is contained in:
parent
a2915388d9
commit
9247af6dea
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue