@@ -726,6 +726,9 @@ public function resetPassword($email, $resetToken, $newPassword)
726
726
$ customerSecure ->setRpToken (null );
727
727
$ customerSecure ->setRpTokenCreatedAt (null );
728
728
$ customerSecure ->setPasswordHash ($ this ->createPasswordHash ($ newPassword ));
729
+ $ customerSecure ->setFailuresNum (0 );
730
+ $ customerSecure ->setFirstFailure (null );
731
+ $ customerSecure ->setLockExpires (null );
729
732
$ this ->sessionCleaner ->clearFor ((int )$ customer ->getId ());
730
733
$ this ->customerRepository ->save ($ customer );
731
734
@@ -1216,6 +1219,7 @@ public function isReadonly($customerId)
1216
1219
* @return $this
1217
1220
* @throws LocalizedException
1218
1221
* @deprecated 100.1.0
1222
+ * @see MAGETWO-71174
1219
1223
*/
1220
1224
protected function sendNewAccountEmail (
1221
1225
$ customer ,
@@ -1259,6 +1263,7 @@ protected function sendNewAccountEmail(
1259
1263
* @throws LocalizedException
1260
1264
* @throws NoSuchEntityException
1261
1265
* @deprecated 100.1.0
1266
+ * @see MAGETWO-71174
1262
1267
*/
1263
1268
protected function sendPasswordResetNotificationEmail ($ customer )
1264
1269
{
@@ -1272,6 +1277,7 @@ protected function sendPasswordResetNotificationEmail($customer)
1272
1277
* @param int|string|null $defaultStoreId
1273
1278
* @return int
1274
1279
* @deprecated 100.1.0
1280
+ * @see MAGETWO-71174
1275
1281
* @throws LocalizedException
1276
1282
*/
1277
1283
protected function getWebsiteStoreId ($ customer , $ defaultStoreId = null )
@@ -1289,6 +1295,7 @@ protected function getWebsiteStoreId($customer, $defaultStoreId = null)
1289
1295
*
1290
1296
* @return array
1291
1297
* @deprecated 100.1.0
1298
+ * @see MAGETWO-71174
1292
1299
*/
1293
1300
protected function getTemplateTypes ()
1294
1301
{
@@ -1322,6 +1329,7 @@ protected function getTemplateTypes()
1322
1329
* @return $this
1323
1330
* @throws MailException
1324
1331
* @deprecated 100.1.0
1332
+ * @see MAGETWO-71174
1325
1333
*/
1326
1334
protected function sendEmailTemplate (
1327
1335
$ customer ,
@@ -1476,6 +1484,7 @@ public function changeResetPasswordLinkToken(CustomerInterface $customer, string
1476
1484
* @throws LocalizedException
1477
1485
* @throws NoSuchEntityException
1478
1486
* @deprecated 100.1.0
1487
+ * @see MAGETWO-71174
1479
1488
*/
1480
1489
public function sendPasswordReminderEmail ($ customer )
1481
1490
{
@@ -1505,6 +1514,7 @@ public function sendPasswordReminderEmail($customer)
1505
1514
* @throws LocalizedException
1506
1515
* @throws NoSuchEntityException
1507
1516
* @deprecated 100.1.0
1517
+ * @see MAGETWO-71174
1508
1518
*/
1509
1519
public function sendPasswordResetConfirmationEmail ($ customer )
1510
1520
{
@@ -1550,6 +1560,7 @@ protected function getAddressById(CustomerInterface $customer, $addressId)
1550
1560
* @return Data\CustomerSecure
1551
1561
* @throws NoSuchEntityException
1552
1562
* @deprecated 100.1.0
1563
+ * @see MAGETWO-71174
1553
1564
*/
1554
1565
protected function getFullCustomerObject ($ customer )
1555
1566
{
@@ -1595,6 +1606,7 @@ private function disableAddressValidation($customer)
1595
1606
*
1596
1607
* @return EmailNotificationInterface
1597
1608
* @deprecated 100.1.0
1609
+ * @see MAGETWO-71174
1598
1610
*/
1599
1611
private function getEmailNotification ()
1600
1612
{
0 commit comments