-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.1 Can't reset customer password #5260
Comments
@sheldonli999 , thank you for report. Unfortunately I was not able to reproduce the main issue you described. Additionally, as I see you mentioned two other problems in this ticket:
I was able to change customer's password in three ways:
|
@sheldonli999 , the only way I was able to reproduce the error was , when I didn't have a SMTP server installed. |
I am able to reproduce the bug easily. Select a customer and edit it (inside admin backend). Click the reset password link, and received an email. Click the link inside the email. Typed in the new password. The error is displayed. Please see the attached screenshot. I can't find any exceptions in the log. |
@sheldonli999 , thank you for screenshots. |
According to contributor guide, tickets without response for two weeks should be closed. |
@andimov @veloraven : having this issue in 2.1 as well. |
This happens if you reset the customer password more than once.
|
this should be re-opened |
I same error with old customer creat before update to magento 2.1 Customer can't login, massenger: An unspecified error occurred. Please contact us for assistance. |
The problem is that there is still an unanswered forgot email. In the database a rp_token gets generated for that client and as long as that exists then you will receive this error. This is NOT a bug. But the error handling should be more descriptive. To solve go into the database where the users are. update rp_token to null and it will work, or give the system to update itself( like 20 min). I'm assuming when the cron does it's thing. Cheers. |
I was check again, some customer still not login. |
Hi. I have the same problem. When I have reseted password for one customer I can not reset password to another customer from my PC. Please see to class: app/code/Magento/Security/Model/SecurityChecker/Frequency.php, method loadLastRecordCreationTimestamp. This method return the last date when was reseted password(of any customers). I think that it`s wrong because this method must return the last date of any reset ONLY for this customer. |
@veloraven : @Omar-Oleh Omar is right, I just checked. This needs to be labeled a bug. |
@Omar-Oleh, @crantron |
Expected result |
+1 I got the same issue. Will investigate to get you more details, but this issue is real. Please do not close it without diving deep and resolving. |
TO temporarily fix this issue, will have to run often, but run the mysql queries.
you'll then be able to send out notifications. |
Actually, I have to retract my assertion of it not working. I have been trouble shooting this for a few hours and located the issue not in the core but MageMonkey for Magento 2. Clean install it is working without an issue. If anyone else is running into this ensure that MageMonkey isn't the issue. |
@eCommerceGorilla Were you able to determine what was it in that extension that was causing this problem? |
@spyrule No I actually didn't bother devoting any additional time to the 3rd party extension, it was faster for me to just inject MailChimp api v3 calls into the magento side of subscription events and create a controller to handle the MailChimp webhook for unsubscribes. |
@eCommerceGorilla Hmmm... source code? 😃 |
INFURIATING this is. NO customers can login in anymore. They all get the same error: And we can't find any error detail in any of the server logs - nor in js console. Which makes all of this ever more infuriating. Not sure when it started, sometime after upgrading from 2.1.0 to 2.1.6. Meanwhile - the phone is ringing off the hook & we are loosing orders like crazy. Please help |
@kcsf Is this new users or existing users ? |
@kcsf After disabling all 3rd party extensions are you still encountering the same issue? |
Reopen this. It's been closed for 6 months and still happening. |
I agree about reopening this. It happens to me with magento 2.1.7
…On Jun 6, 2017 11:35 PM, "dnadle" ***@***.***> wrote:
Reopen this. It's been closed for 6 months and still happening.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5260 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AC7uZcdJigTnKH5EKDUQG2N_zMAsSW39ks5sBhqSgaJpZM4I-e3q>
.
|
@spyrule - problem existed for both new & existing users. In short; we solved it - after upgrading from 2.1.6 to 2.1.7 & making some changes to the database. We're going to push the changes live next Monday - and I will report back here with the solution when confirmed. |
@kcsf So you solved it? |
Yes, problem solved. Don't quote me, but the sql to add the missing columns went something like this: |
@kcsf My customer_entity table already has those columns. |
I was receiving this same error everyone describes here. Then, I checked if I had postfix installed in my Ubuntu. I t was not. I then installed it in the system and configured it to site. After that error just disappeared. |
@gcampedelli Not having postfix installed would explain why your reset emails were not going out. The bug in question here occurs when either the admin resets a customer's password, or the customer requests a 2nd reset email before receiving or responding to the first reset email. When that happens the customer enters a state that prevents them from resetting the password. It's a bug, still present in 2.1.6, 7+ months after it was closed here. |
For me it is working either way after postfix install. I went to admin >store configuration> customer > Customer configuration > passwords and I've set Max Number of Password Reset Requests to 1000 and the error has gone away so far. So, those who are asking to reopen the topic can try this method I described. Check postfix and change configuration. Let me know if it fix the issue. |
Just encountered this on Magento 2.1.5. |
So for me it was a 3rd party extension that didn't contain all of the proper fields in its config or system.xml file (I cannot remember at this point). For me it was the well documented Solwin extension that had a bunch of missing information. I removed it, and suddenly all of my password reset functionality worked as expected. 🤷♂️ |
I am still facing issue on magento 2.1.8 We're unable to send the password reset email. |
I was facing this issue in 2.2 as well, \Magento\Security\Model\SecurityChecker\Quantity and \Magento\Security\Model\SecurityChecker\Frequency are using a bad query ,
AND (( ORDER BY created_at DESC
If you are using Varnish and take a look in table password_reset_request_event, all customers get the same ipaddress. So if there is any active passwort reset request, all others will be blocked. |
I am still facing issue on magento 2.2 We're unable to send the password reset email from web and not working from REST API |
I've tracked down the "An unspecified error occurred. Please contact us for assistance." error message to LoginPost.php line 189 in Magento 2.1.9. It was being caused by a table from another module was missing. Adding $e->getMessage() to that message will output why the login is failing. I have MAGE_MODE set to developer and looked in all the logs and never seen this exception. |
I have also faces this issue. I did it everything all suggestions but still faces same issue yet.. Anybody have another suggestion .. my issue is also - i have not resetting password from the admin side as well as frontend also.. |
I am also having this issue with Magento 2.2.2, I get transactional emails as expected. However, trying to reset the customer password both through the admin or front-end both results in no email being sent. I am not seeing any errors while checking the log or submitting the reset request. |
I am also having this issue. It appears to be due to website URLs that are different then the default URL. I'm using php7.0 and am on 2.1.11 Assuming my default URL is store.domain.com and I'm logged into the admin at store.domain.com/admin and I view all customers and select a customer who is associated with store2.domain.com. I click the Reset Password button and the transactional email goes out as expected. When viewing the email, the reset password link is store.domain.com/customer/account/createpassword/ whereas I would expect the link to be store1.domain.com/customer/acccount/createpassword/ This whole process seems a bit buggy. My questions are:
My solution: Original --
New --
|
I have a different bug, which is customerId and token are always empty. I print them in public function execute() in file vendor/magento/module-customer/Controller/Account/CreatePassword.php. more details are here https://magento.stackexchange.com/questions/212210/your-password-reset-link-has-expired-magento-2 Kindly advice. |
@msliman you should open another if different. |
I had same error of too many password reset requests from backend on 2.2.3. It would allow me to do one, but then no more after that. This fix worked for me: https://magento.stackexchange.com/questions/199984/password-reset-throws-something-went-wrong-while-resetting-customer-password-e |
Steps to reproduce
Expected result
Actual result
The reason I have to reset the customer password is the customer can't request to reset password either.
Second, when saving address via webapi (Magento\Customer\Api\CustomerRepositoryInterface save), if I dont send password, the password is rehashed, the customer can't login with the current password.
The text was updated successfully, but these errors were encountered: