Make it possible to change more user fields

This commit is contained in:
Eli Ribble 2026-04-02 14:22:45 +00:00
parent 7ee70b24ee
commit fc56c1406a
No known key found for this signature in database
8 changed files with 113 additions and 73 deletions

View file

@ -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),