(self)
Prompt for 2FA.
Prompt for 2FA.
Prompt for 2FA .
def setup_prompt_2fa(self):
        """Prompt for 2FA."""
        email = self.auth.data["username"]
        pin = input(f"Enter code sent to {email}: ")
        result = self.auth.send_auth_key(self, pin)
        self.key_required = not result
def setup_prompt_2fa ( self ) : email = self . auth . data [ "username" ] pin = input ( f"Enter code sent to {email}: " ) result = self . auth . send_auth_key ( self , pin ) self . key_required = not result