config/config/User.php
/**
     * Validates password
     *
     * @param string $password password to validate
     * @return boolean if password provided is valid for current user
     */
Validates password
@param string $password password to validate
@return boolean if password provided is valid for current user
Validates password @param string $password password to validate @return boolean if password provided is valid for current user
public function validatePassword($password) {
        $compare_pass=false;
        if (md5($password) === $this->passwd) {
            $compare_pass=true;
        }
        return $compare_pass;
    }
public function validatePassword ( $ password ) { $ compare_pass = false ; if ( md5 ( $ password ) === $ this -> passwd ) { $ compare_pass = true ; } return $ compare_pass ; }
Validates password
 @param string $password password to validate
 @return boolean if password provided is valid for current user
Validates password @param string $password password to validate @return boolean if password provided is valid for current user