Module: Devise::Controllers::Helpers

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

Instance Method Summary collapse

Instance Method Details

#is_fully_authenticated?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/devise_xfactor_authentication/controllers/helpers.rb', line 44

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