make login return id of user also

This commit is contained in:
gitGnome
2026-04-05 15:13:44 +02:00
parent f254a71ef8
commit f38b130c8f
2 changed files with 12 additions and 5 deletions
+5
View File
@@ -35,3 +35,8 @@ type Group struct {
Color [3]uint8 `json:"color"`
EnableUserColors bool `json:"enableUserColors"`
}
type LoginReturn struct {
Token string `json:"token"`
UserId uint32 `json:"userId"`
}