cqpbert Posted July 29 Share Posted July 29 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? Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 29 Share Posted July 29 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? Quote Link to comment Share on other sites More sharing options...
cqpbert Posted July 29 Author Share Posted July 29 I think the i forgot my password might be the issue. They say when they put in their email they get an error like they don't exist, but they do. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 29 Share Posted July 29 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/ Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 29 Share Posted July 29 You can also check the Email Log to see if a reset response email was sent. (See Github issue #2618) Quote Link to comment Share on other sites More sharing options...
cqpbert Posted July 30 Author Share Posted July 30 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. Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 7 Share Posted August 7 (edited) 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 August 7 by bsmither Quote Link to comment Share on other sites More sharing options...
Starfishht43 Posted October 11 Share Posted October 11 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/3536/ CredibleBH 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.