$user->changePassword()
Changes the user password
$user->changePassword(string $password): Kirby\Cms\User
Parameters
| Name | Type | Default |
|---|---|---|
| $password * | string |
– |
Return type
This method does not modify the existing $user object but returns a new object with the changes applied. Learn more →