-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multiple players per user #107
Support multiple players per user #107
Conversation
cb38e69
to
94bc10c
Compare
cc167ab
to
349bd13
Compare
4aa4cd3
to
9b79be9
Compare
i tried this feature on my testing vps and i found two bugs, in the hypotetical case where the database is empty it'll say this
and whenever i try to login with the main account (via yggdrasil REST API) it will only throw the available profiles with the client and access tokens, it won't throw the selected profile or the user section (if requested) Request:
Expected response:
Actual response:
|
Fixed the empty slice error, it was a case of go-gorm/gorm#4076, and added a regression test. I also made As far as the missing |
63cc5c2
to
8cd97d0
Compare
For #75
availableProfiles
selectedProfile
in /auth/refresh tomove Client to another Player of the same usersetselectedProfile
for an unassigned clientMaxPlayerCount