[Bug] Tokens become invalid -- no re-login
ElvenChaos opened this issue ยท 3 comments
After any one re-boot of the MC Client, the log-in token becomes invalid, and when it does you get the "invalid token" error instead of being asked to log-in again. The only work-around at the moment is to delete the tokens.json under /.minecraft (or similar) to regenerate it and to force the mod to take a new log-in after each client reboot.
I haven't had this issue much until recently, but I do have TFA activated on my account, so I suspect that TFA or a recent discord update may have triggered this issue.
Also, on erroneous log-in (i.e. wrong pw), the mod just errors and doesn't let you make a new log-in attempt either.
Is there a way to let the mod re-attempt logins? Also, is there a way to move the login phase out of Mod Initialization Phase 2 and into the running game itself?
One more related issue: if you do not have a valid login, trying to use the DCE features (mainly the GUI button presses) will crash the client. If the above re-log-in attempts are implemented, could the DCE redirect the user to try another log-in attempt instead of crashing them?