forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Pixelboss on April 10, 2009, 12:54:19 am

Title: [Solved]: Reset user password with more than 8 characters
Post by: Pixelboss on April 10, 2009, 12:54:19 am
Hi,

I use Coppermine 1.4.14. I need to reset from admin a user password. The new one has 9 letters, and the last letter isn't catch when I reset. Is someone know how to do to free this max length ??? I have only find this : http://forum.coppermine-gallery.net/index.php?topic=55779.0 (http://forum.coppermine-gallery.net/index.php?topic=55779.0) but it doesn't fix my problem. Thanks in advance for help.

P
Title: Re: Reset user password with more than 8 characters
Post by: phill104 on April 10, 2009, 01:12:11 am
I hate to say it but upgrade to version 1.4.21 right this instant.

This explains why

http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upgrade_why

There are some nasties about that think it is great fun to destroy other peoples work and by not upgrading you are letting them have their fun. It is not a matter of if but a matter of when you will get hacked
Title: Re: Reset user password with more than 8 characters
Post by: Pixelboss on April 23, 2009, 09:09:13 pm
Thankx for your advise. I will but not now because it's a private site so risk isn't stronger. May you help me with my lenght password problem ? Thankx in advance for you lights,

P
Title: Re: Reset user password with more than 8 characters
Post by: Nibbler on April 23, 2009, 09:33:45 pm
There is no upper limit on the length of user passwords. I don't understand what the problem is.
Title: Re: Reset user password with more than 8 characters
Post by: Pixelboss on April 23, 2009, 09:55:06 pm
When you set the password the first time, there is perhaps no limit, but when I try to change the password already set in the admin interface, the length limit is 8 caracters... !
Title: Re: Reset user password with more than 8 characters
Post by: Nibbler on April 23, 2009, 10:13:06 pm
I see. There's a password reset option directly in usermgr.php. I didn't even know that exists. Sorry. Just edit the maxlength out

Find

Code: [Select]
<input type="text" name="new_password" value="{$lang_usermgr_php['password']}" size="8" maxlength="8" class="textinput" onfocus="this.value='';" style="display:none" />

change to

Code: [Select]
<input type="text" name="new_password" value="{$lang_usermgr_php['password']}" size="8" class="textinput" onfocus="this.value='';" style="display:none" />

Alternatively, edit the user using the "e" button.
Title: Re: Reset user password with more than 8 characters
Post by: Pixelboss on April 23, 2009, 10:30:30 pm
It works like a charm  ;D 1000 thanks ! ;)