Module: Devise::Models::SafeguardAuthenticatable
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/devise-safeguard/models/safeguard_authenticatable.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#with_safeguard_authentication?(request) ⇒ Boolean
7 8 9 10 |
# File 'lib/devise-safeguard/models/safeguard_authenticatable.rb', line 7 def with_safeguard_authentication?(request) return true if self.safeguard_enabled false end |