Skip to content

Commit

Permalink
Make the new_password optional
Browse files Browse the repository at this point in the history
Make new_password attribute optional
  • Loading branch information
oforero committed Mar 18, 2023
1 parent d419bc3 commit ba15344
Show file tree
Hide file tree
Showing 6 changed files with 319 additions and 318 deletions.
2 changes: 1 addition & 1 deletion docs/resources/kopicloud_user.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Element to create, update, delete Users from Active Directory

### Required

- `new_password` (String)
- `password` (String)
- `username` (String)

Expand All @@ -32,6 +31,7 @@ Element to create, update, delete Users from Active Directory
- `first_name` (String)
- `initials` (String)
- `last_name` (String)
- `new_password` (String)
- `office` (String)
- `ou_path` (String)
- `show_fields` (String)
Expand Down
2 changes: 1 addition & 1 deletion generator-inputs/user.json
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
{
"name": "new_password",
"type": "schema.TypeString",
"required": true
"optional": true
},
{
"name": "change_password_net_logon",
Expand Down
3 changes: 2 additions & 1 deletion generator-inputs/user_password_reset.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
},

"element_name": "UserPasswordReset",
"create": {
"create":
{
"api_function": {
"name": "PostApiADUserUsernameResetPasswordWithResponse",
"isPointer": true,
Expand Down
Loading

0 comments on commit ba15344

Please sign in to comment.