Make it possible to change more user fields
This commit is contained in:
parent
7ee70b24ee
commit
fc56c1406a
8 changed files with 113 additions and 73 deletions
|
|
@ -83,6 +83,8 @@ func CreateUser(ctx context.Context, username string, name string, password_hash
|
|||
u_setter := models.UserSetter{
|
||||
DisplayName: omit.From(name),
|
||||
IsActive: omit.From(true),
|
||||
IsDronePilot: omit.From(false),
|
||||
IsWarrant: omit.From(false),
|
||||
OrganizationID: omit.From(o.ID),
|
||||
PasswordHash: omit.From(password_hash),
|
||||
PasswordHashType: omit.From(enums.HashtypeBcrypt14),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue