make login return id of user also
This commit is contained in:
@@ -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"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user