When doing email (or presumably SMS - haven't tested that) based token 2FA, the text 'Email Sent Successfully' is assigned to the variable containing the prompt, overwriting 'Otp:' or whatever the prompt is set to.
Thus, instead of 'Otp:' (or anything suggesting user input is needed), 'Email sent successfully' is displayed and auth appears to hang (in reality it is waiting for you to enter the pin).
See PR #1 for fix.