app/models/cms/fortress/user.rb in cms-fortress-1.1.7 vs app/models/cms/fortress/user.rb in cms-fortress-1.1.8
- old
+ new
@@ -4,14 +4,10 @@
# Include default devise modules. Others available are:
# :token_authenticatable, :confirmable,
# :lockable, :timeoutable and :omniauthable
devise :database_authenticatable,
- :recoverable, :rememberable, :trackable, :validatable
+ :recoverable, :rememberable, :trackable, :validatable, :timeoutable
- # Setup accessible (or protected) attributes for your model
- # TODO: remove this deprecation
- # attr_accessible :email, :password, :password_confirmation, :remember_me, :role_id
- # attr_accessible :title, :body
belongs_to :role
end