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
-
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
-
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
-
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
-
There is no upper limit on the length of user passwords. I don't understand what the problem is.
-
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... !
-
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
<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
<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.
-
It works like a charm ;D 1000 thanks ! ;)