MatMaul / pynetgear

Python library to control Netgear wireless routers through the SOAP-api.
MIT License
236 stars 75 forks source link

improve login method #96

Closed starkillerOG closed 2 years ago

starkillerOG commented 2 years ago

Improve the login method further by remembering the last method that gave a succesfull login. In that way a user where V2 fails only needs to try V2 once to see that it fails after which V1 is attempted, if that succeeds all subsecent re-logins will first try V1 (and suceed) and therefore do not have to wait on the V2 method failing.

@MatMaul could you look at this PR?

starkillerOG commented 2 years ago

it has already been tested to work on my router.