fix: admin created users are now set to be active by default

This commit is contained in:
Jordan Knott 2020-12-29 17:25:42 -06:00
parent 9c051c51a6
commit 668b118b25

View File

@ -954,6 +954,7 @@ func (r *mutationResolver) CreateUserAccount(ctx context.Context, input NewUserA
Email: input.Email, Email: input.Email,
Username: input.Username, Username: input.Username,
CreatedAt: createdAt, CreatedAt: createdAt,
Active: true,
PasswordHash: string(hashedPwd), PasswordHash: string(hashedPwd),
}) })
return &userAccount, err return &userAccount, err