global

def two_factor_authenticated?

def two_factor_authenticated?
  !!session[two_factor_session_key]
end