Now server/auth is completely generic on the user type
This commit is contained in:
@@ -38,6 +38,10 @@ type User struct {
|
||||
// passwordSaltHash string
|
||||
}
|
||||
|
||||
func (user User) UID() string {
|
||||
return user.ID
|
||||
}
|
||||
|
||||
// Room represents a room in the database, a room has an id, a name and a collection of seatIDs of this room.
|
||||
type Room struct {
|
||||
ID string `json:"id"`
|
||||
|
||||
Reference in New Issue
Block a user