coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Makc666 on June 03, 2008, 12:10:53 PM

Title: register.php -> Line "'{PASSWORD}' => $password," must be removed
Post by: Makc666 on June 03, 2008, 12:10:53 PM
According to this topic -> http://forum.coppermine-gallery.net/index.php/topic,41910.0.html

File:
register.php

Code:
                        $template_vars = array(
                         '{SITE_LINK}' => $site_link,
                         '{USER_NAME}' => $user_name,
                         '{PASSWORD}' => $password,
                         '{SITE_NAME}' => $CONFIG['gallery_name'],
                                );


Line:
'{PASSWORD}' => $password,

Must be removed for security reasons.

As if now some one will enter {PASSWORD} to any language file into section
$lang_register_activated_email = <<<EOT
the user will receive his password's hash in email.