Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix bug in handling multiple interactive queries #895
If repeated interaction is needed, check_auth_interactive_response returns an InteractiveQuery object. Unfortunately a bug caused it not to be recognized, causing autheintication to fail. This fixes said bug by properly looking at the type of the returned object.
Well that's certainly a 12-year-old bug. Good catch! Suspect uncaught for so long due to server mode being the uncommon use case, and then this style of auth being itself not too often used (at least, not until recent years, assuming this maps to key+TOTP and suchlike).