Module: TwoFactorAuthentication::Schema

Included in:
Orm::ActiveRecord::Schema
Defined in:
lib/two_factor_authentication/schema.rb

Instance Method Summary collapse

Instance Method Details

#second_factor_attempts_countObject



7
8
9
# File 'lib/two_factor_authentication/schema.rb', line 7

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

#second_factor_pass_codeObject



3
4
5
# File 'lib/two_factor_authentication/schema.rb', line 3

def second_factor_pass_code
  apply_devise_schema :second_factor_pass_code, String, :limit => 32
end