Skip to content

Commit 8924115

Browse files
committed
Use $this->params->userPassword()
1 parent ec00840 commit 8924115

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/Identity/v3/Api.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -540,7 +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(),
543+
'password' => $this->params->password(),
544544
]
545545
];
546546
}

src/Identity/v3/Params.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -279,13 +279,6 @@ 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-
289282
public function defaultProjectId(): array
290283
{
291284
return [

0 commit comments

Comments
 (0)