Jump to content

Customers unable to reset their password.


cqpbert

Recommended Posts

I have more than 1 customer that reports they are not able to reset their password. I go in and manually do it for them and then all is well.

Any ideas what is going wrong? Is there a know bug about it perhaps?

Link to comment
Share on other sites

CubeCart 6.4.5 made code that put a limit on the number of characters a password can contain - which included the text entry box and verification PHP script code for the 'current' password - to 64 characters. (See Github issue #2956)

CubeCart 6.4.6 fixed that. (See Github issue #2979)

Next, CubeCart 6.5.4 included the reCaptcha anti-bot feature to the Recover Password page and PHP code. (See Github issue #3536) Even if the skin did not get updated, the PHP code should still have been displayed an error banner that there was a failure related to the recaptcha.

With regard to that, do the customers report that "nothing seems to happen", or do they get the error banner, or by "reset" do you mean the "I forgot my password" does not work?

 

Link to comment
Share on other sites

In addition to the above changes made to CubeCart across the versions, in CC654 there is now a limit to the number of characters that will be accepted for a customer's email address -- from 254 to 96. The skin is supposed to enforce that, as well as PHP code when processing the POSTed data, as well as a change in the database schema, CubeCart_customer, 'email' field.

Still, 96 characters should be plenty, and should have kept the contents of that column undisturbed when the column was altered.

So, if the email did not match what is in the database, that is one source of problems. If, when visiting the "reset" link sent in the email (shows the Reset Password page asking for a new password), and submitting that new password, it doesn't 'take', that is a different problem.

There is this old conversation:

https://forums.cubecart.com/topic/53898-customers-can%E2%80%99t-reset-password/

 

Link to comment
Share on other sites

I don't see anything in the email log. I also tried with my email , just pretending not to know my password. So I hit forgot password, it brought up a page to enter my email. I entered it and hit submit. I got this next:

the following errors were detected:
The verification code was incorrect. Please try again.

But I am sure my email was correct, and not longer than 96 characters. I can login in with it just fine.

Link to comment
Share on other sites

  • 2 weeks later...

As best I can tell, this error message is generated from a failed reCaptcha (or hCaptcha) challenge.

A recent CubeCart version made a (minor?) change to a the Foundation skin that may be causing this *if* your skin has not been updated to match the changes.

Please see:

https://github.com/cubecart/v6/issues/3536

Edited by bsmither
Link to comment
Share on other sites

  • 2 months later...
On 8/8/2024 at 1:23 AM, bsmither said:

As best I can tell, this error message is generated from a failed reCaptcha (or hCaptcha) challenge.

A recent CubeCart version made a (minor?) change to a the Foundation skin that may be causing this *if* your skin has not been updated to match the changes.

Please see:

https://github.com/cubecart/v6/issues/3536CredibleBH

Thanks for the insight! That makes sense, especially if the reCaptcha/hCaptcha integration is acting up. I’ll definitely check if the Foundation skin is outdated and causing the issue. Appreciate you linking the GitHub issue too—I'll take a look and see if there's an easy fix or if I need to update the skin to resolve it. Thanks again!

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...