Module: Devise::Controllers::Helpers

Defined in:
lib/devise_two_factor_authentication/controllers/helpers.rb

Instance Method Summary collapse

Instance Method Details

#is_fully_authenticated?Boolean



49
50
51
# File 'lib/devise_two_factor_authentication/controllers/helpers.rb', line 49

def is_fully_authenticated?
  !session["warden.user.user.session"].try(:[], DeviseTwoFactorAuthentication::NEED_AUTHENTICATION)
end