Passwd_Driver::changePassword PHP Method

changePassword() public method

Changes the user's password.
public changePassword ( string $user, string $oldpass, string $newpass )
$user string The user for which to change the password.
$oldpass string The old (current) user password.
$newpass string The new user password to set.
    public function changePassword($user, $oldpass, $newpass)
    {
        try {
            $user = Horde::callHook('username', array($user, $this), 'passwd');
        } catch (Horde_Exception_HookNotSet $e) {
        }
        $this->_changePassword($user, $oldpass, $newpass);
    }