def list_members_without_mfa(profile='github', ignore_cache=False):
 key = 'github.{0}:non_mfa_users'.format(_get_config_value(profile, 'org_name'))
 if ((key not in __context__) or ignore_cache):
  client = _get_client(profile)
  organization = client.get_organization(_get_config_value(profile, 'org_name'))
  filter_key = 'filter'
  if hasattr(github.Team.Team, 'membership'):
   filter_key = 'filter_'
  __context__[key] = [m.login.lower() for m in _get_members(organization, {filter_key: '2fa_disabled'})]
 return __context__[key]

def list_members_without_mfa ( profile = 'github' , ignore_cache = False ) : key = 'github.{0}:non_mfa_users' . format ( _get_config_value ( profile , 'org_name' ) ) if ( ( key not in __context__ ) or ignore_cache ) : client = _get_client ( profile ) organization = client . get_organization ( _get_config_value ( profile , 'org_name' ) ) filter_key = 'filter' if hasattr ( github . Team . Team , 'membership' ) : filter_key = 'filter_' __context__ [ key ] = [ m . login . lower ( ) for m in _get_members ( organization , { filter_key : '2fa_disabled' } ) ] return __context__ [ key ]
list all members without mfa turned on .