Open Nardol opened 9 months ago
I no longer have a Discord account but when I did, I didn't have that crash. It sounds like that harmony doesn't understand the data sent when 2FA is enabled for an account. So your options are to either disable 2FA or work on adding support for 2FA to harmony. You can probably start by printing the JSON just before the crash site and see from there what the code should be doing instead.
In fact, it seams Harmony does not manage 2FA at all because token looks considered as present in all circumstances, I have not found the check before using it. Strange that nobody using 2fa has any crash when logging-in for the first time, or I am the only one to have tried and reported it.
Working on 2FA looks to have to be done from scratch, which is not really something I plan for now.
EDIT: and I am not sure about the decision of decreasing my account security :slightly_smiling_face:
But if someone wants to work on it, if there is no token there are also sms and/or mfa which can be set to true
and ticket
might be the data to use when requesting 2FA code from user.
So other call to the API have to be done at this stage, which I have no real knowledge about.
When typing log-in, typing my e-mail then my password I have the following error:
A friend who has not set any 2FA can log-in successfully.
I have the project to adopte the python3-harmony Debian package, which is fully not possible for now because of this error, if not able to log-in myself it is not possible to do anything else :slightly_frowning_face: I tried from a clean Python virtual environment with dependencies from
deps/requirements.lock
to be sure I only set tested dependencies.Actual Debian package on Bookworm produce the same error.