Module: Devise::Controllers::Helpers

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

Instance Method Summary collapse

Instance Method Details

#is_fully_authenticated?Boolean

Returns:

  • (Boolean)


50
51
52
# File 'lib/devise_multi_factor/controllers/helpers.rb', line 50

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