Skip to content

Kirby 3.5.7.1

$user->changePassword()

Changes the user password

$user->changePassword(string $password): Kirby\Cms\User

Parameters

Name Type Default
$password * string

Return type

Kirby\Cms\User

This method does not modify the existing $user object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Cms\User