Qluxzz / avanza

A Python library for the unofficial Avanza API
https://qluxzz.github.io/avanza/
MIT License
85 stars 40 forks source link

Fix login error when two factor is disabled #63

Closed Froggi closed 1 year ago

Froggi commented 1 year ago

When 2fa is disabled the response object is inside an extra level called "successfulLogin". Also security token was not saved as it was when using 2fa.

Qluxzz commented 1 year ago

Looks good! Thanks for contributing!