Advanced search  

News:

cpg1.5.46 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter recently discovered vulnerabilities. It is important that all users who run version cpg1.5.44 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Resetting my password  (Read 758 times)

0 Members and 1 Guest are viewing this topic.

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 48
Resetting my password
« on: June 29, 2017, 08:49:38 pm »

Hi All,

Upgraded to PHP7 today and found out that CPG 1.5 didn't work under that version any more. Thank god there is an upgrade! Only thing i've forgotten is my password. In the opld version you could reset a password using MD5, but that's has changed to SALT encryption. How can you reset your password now?

Regards
Logged

Phill Luckhurst

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4474
    • Windsurf.me
Re: Resetting my password
« Reply #1 on: June 29, 2017, 08:58:27 pm »

You can try and use the forgot password link.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 48
Re: Resetting my password
« Reply #2 on: June 29, 2017, 09:00:31 pm »

I didn't configure that part. :P
But maybe it will help me further.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15403
Re: Resetting my password
« Reply #3 on: July 03, 2017, 04:50:10 pm »

In the opld version you could reset a password using MD5, but that's has changed to SALT encryption. How can you reset your password now?

You need to insert a md5 hashed password to the user_password field (e.g. "098f6bcd4621d373cade4e832627b4f6" which is "test") and clear the user_password_salt field. After successful login the password will be salted in the database.
Logged

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 48
Re: Resetting my password
« Reply #4 on: July 04, 2017, 10:39:25 pm »

That did the trick!!
THX
Logged
Pages: [1]   Go Up
 

Page created in 0.012 seconds with 22 queries.