duke605 / DiscordCE

Allows you to chat, manage your friends and block list, join and leave guilds/servers and more.
https://minecraft.curseforge.com/projects/discordce
MIT License
11 stars 1 forks source link

[Bug] Tokens become invalid -- no re-login #6

Open ElvenChaos opened 7 years ago

ElvenChaos commented 7 years ago

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?

CaelTheColher commented 7 years ago

Same i'm 1.7.10

rcmaehl commented 7 years ago

Same 1.10.2

Froxcey commented 4 years ago

Same 1.8.9