Open Source Content Management System

mgd_update_password

  1. Description

mgd_update_password -- Change username and password of a person

Description

bool mgd_update_password (int id, string username, string password)

Changes the username and password associated with a person record. The password is stored in the database in encrypted form (using unix crypt). Only administrators and the user himself may change the password.

Returns TRUE on success, FALSE on failure.


Designed by Nemein, hosted by Anykey