File/plugins/change_password/backend/mysql.php

Description

MySQL change password backend

Functions
cpw_mysql_dochange (line 67)

This is the function that is specific to your backend. It takes

the current password (as supplied by the user) and the desired new password. It will return an array of messages. If everything was successful, the array will be empty. Else, it will contain the errormessage(s). Constants to be used for these messages: CPW_CURRENT_NOMATCH -> "Your current password is not correct." CPW_INVALID_PW -> "Your new password contains invalid characters."

  • return: Array of error messages.
array cpw_mysql_dochange (array $data)
  • array $data: data The username/currentpw/newpw data.

Documentation generated on Sun, 22 Nov 2009 17:36:43 +0200 by phpDocumentor 1.4.3