View Single Post
  #3  
Old 28th April 2010, 09:57
bluegrass bluegrass is offline
Member
 
Join Date: Jan 2006
Location: Pinas
Posts: 51
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Yahoo to bluegrass
Default

Hi, Falco. Below is the config.php of the change_sqlpass plugin, I have removed the remarks lines.


Code:
<?php

   global $csp_dsn, $password_update_queries, $lookup_password_query,
          $force_change_password_check_query, $password_encryption,
          $csp_salt_query, $csp_salt_static, $csp_secure_port,
          $csp_non_standard_http_port, $csp_delimiter, $csp_debug,
          $min_password_length, $max_password_length, $include_digit_in_password,
          $include_uppercase_letter_in_password, $include_lowercase_letter_in_password,
          $include_nonalphanumeric_in_password;



   $csp_dsn = 'mysql://mail_admin:scientia@localhost/mail';



   $lookup_password_query = 'SELECT count(*) FROM users WHERE email = "%1" AND password = %4';



   $password_update_queries = array(
            'UPDATE users SET password = %4, txt_password = "%5", force_change_pwd = 0  WHERE email = "%1"',
//            'UPDATE user_flags SET force_change_pwd = 0 WHERE username = "%1"',
//            'UPDATE users SET crypt_password = %4, force_change_pwd = 0 WHERE username = "%1"',
                                   );



   $force_change_password_check_query = 'SELECT force_change_pwd FROM users WHERE email = "%1"';
   //$force_change_password_check_query = '';



   $password_encryption = 'MYSQLENCRYPT';



   $csp_salt_static = 'LEFT(password, 2)';
   $csp_secure_port = 0;
   //$csp_secure_port = 443;



   $csp_non_standard_http_port = 0;



   $min_password_length = 6;
   $max_password_length = 0;
   $include_digit_in_password = 0;
   $include_uppercase_letter_in_password = 0;
   $include_lowercase_letter_in_password = 0;
   $include_nonalphanumeric_in_password = 0;



   $csp_delimiter = '@';
   


   $csp_debug = 0;



?>
Reply With Quote