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: [Solved]: Reset user password with more than 8 characters  (Read 2510 times)

0 Members and 1 Guest are viewing this topic.

Pixelboss

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
[Solved]: Reset user password with more than 8 characters
« 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 but it doesn't fix my problem. Thanks in advance for help.

P
« Last Edit: April 23, 2009, 10:34:03 pm by Nibbler »
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4822
    • Windsurf.me
Re: Reset user password with more than 8 characters
« Reply #1 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
Logged
It is a mistake to think you can solve any major problems just with potatoes.

Pixelboss

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Reset user password with more than 8 characters
« Reply #2 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
Logged

Nibbler

  • Guest
Re: Reset user password with more than 8 characters
« Reply #3 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.
Logged

Pixelboss

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Reset user password with more than 8 characters
« Reply #4 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... !
Logged

Nibbler

  • Guest
Re: Reset user password with more than 8 characters
« Reply #5 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.
Logged

Pixelboss

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Reset user password with more than 8 characters
« Reply #6 on: April 23, 2009, 10:30:30 pm »

It works like a charm  ;D 1000 thanks ! ;)
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.