Module: Devise

Defined in:
lib/two_factor_authentication.rb,
lib/two_factor_authentication/controllers/helpers.rb,
lib/two_factor_authentication/models/two_factor_authenticatable.rb

Defined Under Namespace

Modules: Controllers, Models Classes: TwoFactorAuthenticationController

Constant Summary collapse

@@max_login_attempts =
3
@@allowed_otp_drift_seconds =
30
@@otp_length =
6
@@direct_otp_length =
6
@@direct_otp_valid_for =
5.minutes
@@remember_otp_session_for_seconds =
0
@@otp_secret_encryption_key =
''
@@second_factor_resource_id =
'id'
false