Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Disable "Change Password" for users  (Read 2587 times)

0 Members and 1 Guest are viewing this topic.

Wouter

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Disable "Change Password" for users
« on: January 02, 2004, 02:04:07 pm »

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:

Code: [Select]
$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!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Disable "Change Password" for users
« Reply #1 on: January 02, 2004, 05:46:28 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.023 seconds with 18 queries.