News:

CPG Release 1.6.29
During HTML5 upload, keep pseudo blank code 200 messages from triggering error condition
added Russian language
correct failure to use theme menu icons in album manager
minor vulnerabilities mitigation

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