fix: admin created users are now set to be active by default
This commit is contained in:
parent
9c051c51a6
commit
668b118b25
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user