TwilioDevEd / account-security-quickstart-django

A simple implementation of a Twilio Account Security protected site using Python and Django.
MIT License
31 stars 33 forks source link

Improper handling in register view when authy_user not OK #4

Closed cernerae closed 5 years ago

cernerae commented 5 years ago

Line 36 of twofa/views.py should be:

for key, value in authy_user.errors().items():

or else a ValueError will be thrown for too many values to unpack

spalmertwilio commented 5 years ago

Thanks @cernerae we have added in your fix!