User::setPassword - jcobban/Genealogy GitHub Wiki

$user->setPassword($password)

Up: class User

This changes the value of the password. It has one parameter:

parameter description
$password The new password.

The supplied password is converted into a salted hash value and that value is stored in the field 'shapassword'.

Next: $user->chkPassword($newpassword,$persist)