Skip to content

Commit ec00840

Browse files
committed
Allow to update user password
1 parent 3451ef4 commit ec00840

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/Identity/v3/Api.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,7 @@ public function patchUser(): array
540540
'description' => $this->params->desc('user'),
541541
'email' => $this->params->email(),
542542
'enabled' => $this->params->enabled('user'),
543+
'password' => $this->params->userPassword(),
543544
]
544545
];
545546
}

src/Identity/v3/Params.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,13 @@ public function enabled($resource)
279279
];
280280
}
281281

282+
public function userPassword(): array
283+
{
284+
return [
285+
'description' => 'The new password for the user.'
286+
];
287+
}
288+
282289
public function defaultProjectId(): array
283290
{
284291
return [

0 commit comments

Comments
 (0)