Module: Devise::Models::WebauthnTwoFactorAuthenticatable
- Extended by:
- ActiveSupport::Concern
- Includes:
- WebauthnCredentialAuthenticatable
- Defined in:
- lib/devise/models/webauthn_two_factor_authenticatable.rb
Instance Method Summary collapse
Instance Method Details
#second_factor_enabled? ⇒ Boolean
17 18 19 |
# File 'lib/devise/models/webauthn_two_factor_authenticatable.rb', line 17 def second_factor_enabled? webauthn_credentials.any? end |