mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 17:00:19 +00:00
fix: disabled property gets ignored when creating an user
This commit is contained in:
@@ -259,6 +259,7 @@ func (s *UserService) createUserInternal(ctx context.Context, input dto.UserCrea
|
|||||||
Username: input.Username,
|
Username: input.Username,
|
||||||
IsAdmin: input.IsAdmin,
|
IsAdmin: input.IsAdmin,
|
||||||
Locale: input.Locale,
|
Locale: input.Locale,
|
||||||
|
Disabled: input.Disabled,
|
||||||
}
|
}
|
||||||
if input.LdapID != "" {
|
if input.LdapID != "" {
|
||||||
user.LdapID = &input.LdapID
|
user.LdapID = &input.LdapID
|
||||||
|
|||||||
Reference in New Issue
Block a user