Last week i received an email from one of my customers:
I am unable to login my account is "The account sign-in was incorrect or your account is disabled temporarily."
Now after a full weekend searching i can not find a solution.
I noticed when i try to update the password for customer:
1. the reset link is send to email (domain.com/customer/account/createPassword/?id=2049&token=YxwGXiwdoNf7hjG359sbt0smKK2ck6Ej
2.copy past the link in the browser redirect to : (domain.com/customer/account/createpassword/)
3.this will give an error:
Hi @Broeders ,
Any error in exception.log or system.log while editing customer from back-end?
Thanks
Hello @Broeders
You should check the magento exception.So you need to go to class method Magento\Customer\Controller\Account\CreatePassword::execute() and in catch statement log the exception.
Thank you
Hi Bhanu
I am not getting the error in my log - (never have done this) give me a hint?
: added this logger message
} catch (\Exception $exception) { $this->_logger-> critical($message, array $context = array()) //saved in var/log/system.log $this->messageManager->addErrorMessage(__('Your password reset link has expired.')); /** @var Redirect $resultRedirect */ $resultRedirect = $this->resultRedirectFactory->create(); $resultRedirect->setPath('*/*/forgotpassword'); return $resultRedirect; }
Hello @Broeders
Please check under
var/log/system.log
or
var/log/exception.log
There is nothing logged into /var/log/...
I see cron:run ect (just the normall loggings)
Hi @Broeders,
Greetings!
I have just gone through all your comments and error. And as per my knowledge is an issue with link expiry right?
Try these steps(if that can help you)
You can test this. Also, check in incognito. Maybe the problem can be multiple Magento sites in the same domain for development.
Hope this will work for you.
If not, feel free to contact us.
Solved? Click KUDOS and accept it as a solution to help others.
Thanks
I did exacly - (check the admin settings -- were already ok as you mentioned)
In admin i made a new customer - this works.
In front i request for a new password by email - email is send.
I press the link and try to set the password:
error message:
Finally after many hours i found:
The PHP user was not correct with the newest 2FA this is very strict.
Hi,
can you explain how you fix it?
My 2FA module is disabled.