register.php -> Line "'{PASSWORD}' => $password," must be removed register.php -> Line "'{PASSWORD}' => $password," must be removed
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

register.php -> Line "'{PASSWORD}' => $password," must be removed

Started by Makc666, June 03, 2008, 12:10:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Makc666

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.