forum.coppermine-gallery.net

Support => cpg1.6.x Support => cpg1.6 permissions => Topic started by: ge-flopt on June 29, 2017, 08:49:38 pm

Title: Resetting my password
Post by: ge-flopt 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
Title: Re: Resetting my password
Post by: Phill Luckhurst on June 29, 2017, 08:58:27 pm
You can try and use the forgot password link.
Title: Re: Resetting my password
Post by: ge-flopt on June 29, 2017, 09:00:31 pm
I didn't configure that part. :P
But maybe it will help me further.
Title: Re: Resetting my password
Post by: Αndré 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.
Title: Re: Resetting my password
Post by: ge-flopt on July 04, 2017, 10:39:25 pm
That did the trick!!
THX