Sha256: beae6ab0d47803bbf9b35fa7218699f8787084b6542769f1bd9339ff96c6ceef

Contents?: true

Size: 195 Bytes

Versions: 7

Compression:

Stored size: 195 Bytes

Contents

module PasswordExpirableFields
  extend ::ActiveSupport::Concern

  included do
    include Mongoid::Document

    field :expired_at, type: Time
    field :last_activity_at, type: Time
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise-security-0.16.0 test/dummy/app/models/mongoid/password_expirable_fields.rb
devise-security-0.15.0 test/dummy/app/models/mongoid/password_expirable_fields.rb
devise-security-0.14.3 test/dummy/app/models/mongoid/password_expirable_fields.rb
devise-security-0.14.2 test/dummy/app/models/mongoid/password_expirable_fields.rb
devise-security-0.14.1 test/dummy/app/models/mongoid/password_expirable_fields.rb
devise-security-0.14.0 test/dummy/app/models/mongoid/password_expirable_fields.rb
devise-security-0.14.0.rc1 test/dummy/app/models/mongoid/password_expirable_fields.rb