Sha256: 6b295a6420310681e0db51c5fa35573a79d5b05fda3f13e6d17ed98d00eae943

Contents?: true

Size: 264 Bytes

Versions: 5

Compression:

Stored size: 264 Bytes

Contents

module TwoFactorAuthentication
  module Schema
    def otp_secret_key
      apply_devise_schema :otp_secret_key, String
    end

    def second_factor_attempts_count
      apply_devise_schema :second_factor_attempts_count, Integer, :default => 0
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
two_factor_authentication-1.1.4 lib/two_factor_authentication/schema.rb
two_factor_authentication-1.1.3 lib/two_factor_authentication/schema.rb
two_factor_authentication-1.1.1 lib/two_factor_authentication/schema.rb
two_factor_authentication-1.1 lib/two_factor_authentication/schema.rb
two_factor_authentication-1.0 lib/two_factor_authentication/schema.rb