Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle error case for no MFA methods #203

Merged
merged 2 commits into from
Mar 28, 2023

Conversation

cwilko
Copy link
Contributor

@cwilko cwilko commented Feb 6, 2023

My system has an email factor set up as a secondary mechanism, rather than primary. In this situation a StopIteration runtime exception is thrown by next() because it is processing an empty list.

@jeffreydwalter jeffreydwalter merged commit 4fc678e into jeffreydwalter:master Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants