Need an option to support both the old and new auth method with the same code base
Closed this issue · 3 comments
scottchiefbaker commented
I have a script that monitors WiFi clients on two different sets of MT equipment. One has been updated to 6.45.x and the other is still on 6.40.x. Because of this discrepancy I can't use the same script to monitor them because they use different authentication schemes.
I propose we implement a login method like this PHP Library that tries the new auth method first, and falls back to the old way if it fails. This will allow the module to work for both authentication schemes.
Login API docs
scottchiefbaker commented
Apologies, I didn't realize you had already done this.
Good work!
martin8883 commented
Nice to know that the fallback works.
scottchiefbaker commented
It does indeed work!