mirror of
https://github.com/Unkn0wnCat/matrix-veles.git
synced 2025-08-03 00:28:50 +02:00
Add list API endpoints
This commit is contained in:
parent
1e071ffed4
commit
c572bbce85
5 changed files with 275 additions and 2 deletions
|
@ -12,6 +12,8 @@ type DBUser struct {
|
|||
Username string `bson:"username" json:"username"` // Username is the username the user has
|
||||
HashedPassword string `bson:"password" json:"password"` // HashedPassword contains the bcrypt-ed password
|
||||
|
||||
Admin *bool `bson:"admin,omitempty" json:"admin,omitempty"` // If set to true this user will have all privileges
|
||||
|
||||
MatrixLinks []*string `bson:"matrix_links" json:"matrix_links"` // MatrixLinks is the matrix-users this user has verified ownership over
|
||||
PendingMatrixLinks []*string `bson:"pending_matrix_links" json:"pending_matrix_links"` // PendingMatrixLinks is the matrix-users pending verification
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue