I have tried to make my own 2FA code using flask-email I generate a 6 digit OTP here:
def OTP(length): printabl