Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Resetting my password  (Read 14712 times)

0 Members and 1 Guest are viewing this topic.

ge-flopt

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Posts: 49
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

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • 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: 49
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: 15764
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: 49
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.022 seconds with 20 queries.