Jump to content

Admin password assistance.


ZeroX42

Recommended Posts

On a fresh install, the login details worked one time and now it returns invalid.
The forgot password email does not get sent, and when I went to phpMyAdmin the
hashed password is way too long to be md5.

Sooo.... What's the algorithm used for hashing the Admin password?

Oh, and I am using the latest version of CubeCart available on Softaculous.

Thanks in advance :)

 

 

Edit:

I found out how to create my new password by opening
/classes/password.class.php

$salt.$value.$salt

Still doesn't explain why or how the password was changed or altered from what it was originally,
nor does it explain why no email was sent by the forgotten password form.


 

Edited by ZeroX42
Updates
Link to comment
Share on other sites

There is a tiny bit more to it than $salt.$value.$salt.

We need to check if this new installation will email a test message.

We are also assuming the password and salt fields have changed - that being the reason for the failed logins.

Link to comment
Share on other sites

Well, it actually was that simple for changing the password and getting us back online.

Knowing the format and the algorithm to use was all I needed to create a new password.

Chances are I typo'd somewhere and caused this issue myself.
Only thing I can't account for is the email not being sent, but I'll revisit that another time.

Thanks.

 

Link to comment
Share on other sites

  • 7 months later...

I am now also having that problem with the latest CC. Admin login won't take what I am ALMOST sure is the password and username. It will not send an email. Is thetre a place I can find it? I don't have the file /classes/password.class.php   It is not in my classes folder.

 

Cheers

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...