Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

[BUG] [Fabric/Forge] #48

Open
1 of 2 tasks
reemays opened this issue Jan 22, 2021 · 2 comments
Open
1 of 2 tasks

[BUG] [Fabric/Forge] #48

reemays opened this issue Jan 22, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@reemays
Copy link

reemays commented Jan 22, 2021

Mod Loader

  • Fabric
  • Forge

Versions

  • SimpleAuth 1.6.0
  • Fabric API 0.29.4

Describe the bug
Players need to register back every time the server crashes or restarts.

To Reproduce
Steps to reproduce the behavior:

  1. Enter the server
  2. Register your account
  3. Disconnect from server
  4. If sessionTimeoutTime set to -1, just login back. Otherwise if default wait for 60
  5. Try to login and it should be working
  6. Disconnect and stop the server
  7. Relaunch server
  8. Get in the server
  9. Popup that said to register again

Expected behavior
Able to login with previously created account

Additional context

@reemays reemays added the bug Something isn't working label Jan 22, 2021
@reemays
Copy link
Author

reemays commented Jan 23, 2021

Update: I noticed that if restarting is successful, then the problem is no longer there. It just there if the server crashes, which for me happened a lot since the server is low-spec. I think it has something to do with this mod doesn't save the details of the account while the server is running.

@samolego
Copy link
Owner

samolego commented Jan 23, 2021

The data is saved in batch on the server stop in order to save performance. If server crashes though, it might not be saved then ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants