

def default_device(user):
    if ((not user) or user.is_anonymous()):
        return
    for device in devices_for_user(user):
        if (device.name == 'default'):
            return user

dataset/ETHPy150Open Bouke/django-two-factor-auth/two_factor/utils.py default_device/VarMisuse@51/61 `device`->`user`