Auth::changePassword()

Auth::changePassword() – change the password of a user

Synopsis

mixed Auth::changePassword ( string $username , string $password )

Описание

Change the password of a user within the Auth Container.

Parameter

string $username

the username of the user

string $password

the new password for the user

Return value

mixed - TRUE on success, a PEAR Error on failure.

Замечание

This function can not be called statically.

Not all Auth Containers implement this functionality.

    Поддержать сайт на родительском проекте КГБ