def __init__(self, user, initial_device, **kwargs):
        super(AuthenticationTokenForm, self).__init__(**kwargs)
        self.user = user

        # YubiKey generates a OTP of 44 characters (not digits). So if the
        # user's primary device is a YubiKey, replace the otp_token
        # IntegerField with a CharField.
        if RemoteYubikeyDevice and YubikeyDevice and \
                isinstance(initial_device, (RemoteYubikeyDevice, YubikeyDevice)):
            self.fields['otp_token'] = forms.CharField(label=_('YubiKey'))
Process the email received.
dataset/ETHPy150Open Bouke/django-two-factor-auth/two_factor/forms.py/AuthenticationTokenForm.__init__--crossover with--dataset/ETHPy150Open TheTorProject/gettor/gettor/smtp.py/SMTP.process_email