Disable "Change Password" for users Disable "Change Password" for users
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Disable "Change Password" for users

Started by Wouter, January 02, 2004, 02:04:07 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Wouter

Hi there,

I use Coppermine to share my photos. Therefor I create a group with one user for a specific album. That account is than used by all the visitors for that album. To prevent that one user changes the password so others cannot login anymore, I want to disable that functionality. I'm not familiar with PHP, but in de profile.php file I found this code:

$change_password_form_param = array(
    array('password', 'current_pass', $lang_register_php['current_pass'], 25),
    array('password', 'new_pass', $lang_register_php['new_pass'], 25),
    array('password', 'new_pass_again', $lang_register_php['new_pass_again'], 25),
    );


Before deleting it, can anybody tell me if deleting this will solve my problem?

Thanks!

Joachim Müller

Having multiple users using the same login isn't recommended, but if you want that I suggest you just remove the "my profile" link from theme.php and add a "die" into "profile.php".
Refer to http://coppermine.sourceforge.net/faq.php?q=removeFeature#removeFeature

GauGau