$user->changePassword()
Changes the user password
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 →