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

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

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