Skip to content

Commit

Permalink
Update app/code/core/Mage/Customer/controllers/AccountController.php
Browse files Browse the repository at this point in the history
Fixed typo
  • Loading branch information
sreichel committed Sep 23, 2024
1 parent 0f65646 commit 2bcd2df
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -932,7 +932,7 @@ protected function _validateResetPasswordLinkToken($customerId, $resetPasswordLi
}

$customerToken = $customer->getRpToken();
if (is_null(customerToken) || strcmp($customerToken, $resetPasswordLinkToken) !== 0 || $customer->isResetPasswordLinkTokenExpired()) {
if (is_null($customerToken) || strcmp($customerToken, $resetPasswordLinkToken) !== 0 || $customer->isResetPasswordLinkTokenExpired()) {
throw Mage::exception('Mage_Core', $this->_getHelper('customer')->__('Your password reset link has expired.'));
}
}
Expand Down

0 comments on commit 2bcd2df

Please sign in to comment.