Customer can't edit his information without entering current passwordExisting Customer Import including MD5 hashed passwordCustomer Password Security RulesCreate Account not working, maybe related to SUPEE 6788 patchAbusing discount code by entering fake informationEdit Customer Account Information without setting address?programatically change customer password in magento 2Can I change customer email without entering password on account edit page?Magento customer account edit form remove passwordImport Customers Without PasswordHow to change “input file” storage location in customer account edit form
Dold-Kan correspondence in the category of symmetric spectra
What does 2>&1 | tee mean?
If my Scout rogue has used his full movement on his turn, can he later use the reaction from the Skirmisher feature to move again?
Can a US president have someone sent to prison?
How hard is it to sell a home which is currently mortgaged?
Is this the golf ball that Alan Shepard hit on the Moon?
Avoid bfseries from bolding pm in siunitx
MH370 blackbox - is it still possible to retrieve data from it?
A player is constantly pestering me about rules, what do I do as a DM?
What speedlites can work with the Canon EOS 4000D's non-standard hotshoe?
Signing using digital signatures?
SPI Waveform on Raspberry Pi Not clean and I'm wondering why
Anagram Within an Anagram!
Transitive action of a discrete group on a compact space
Professor Roman gives unusual math quiz ahead of
Analog is Obtuse!
Does ultrasonic bath cleaning damage laboratory volumetric glassware calibration?
“Faire” being used to mean “avoir l’air”?
What is the best delay to use between characters sent to the serial port
Does anycast addressing add additional latency in any way?
Why isn’t the tax system continuous rather than bracketed?
What is the line crossing the Pacific Ocean that is shown on maps?
Are there any vegetarian astronauts?
Compute unstable integral with high precision
Customer can't edit his information without entering current password
Existing Customer Import including MD5 hashed passwordCustomer Password Security RulesCreate Account not working, maybe related to SUPEE 6788 patchAbusing discount code by entering fake informationEdit Customer Account Information without setting address?programatically change customer password in magento 2Can I change customer email without entering password on account edit page?Magento customer account edit form remove passwordImport Customers Without PasswordHow to change “input file” storage location in customer account edit form
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have problem in customer/account/edit/
page the customer can't update his information without fill current password field even if he doesn't checked the change password checkbox, if the customer try to change his date this message will appear "Invalid current password"
Anyone could help me please ?
The codes used
<li class="control">
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Change Password')) ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
</li>
<li class="fields">
<div>
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
<div class="input-box">
<!-- This is a dummy hidden field to trick firefox from auto filling the password -->
<input type="text" disabled class="input-text no-display" name="dummy" id="dummy" />
<input type="password" disabled title="<?php echo Mage::helper('core')->quoteEscape($this->__('Current Password')) ?>" class="input-text" name="current_password" id="current_password" />
</div>
</div>
</li>
<li class="fields">
<div>
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
<div class="input-box">
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('New Password')) ?>" class="input-text validate-password" name="password" id="password" />
</div>
</div>
</li>
<li class="fields">
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
<div class="input-box">
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm New Password')) ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
</div>
</li>
//<![CDATA[
var dataForm = new VarienForm('form-validate', true);
function setPasswordForm(arg)
if (arg)
$('current_password').up(4).show();
$('current_password').addClassName('required-entry');
$('password').addClassName('required-entry');
$('confirmation').addClassName('required-entry');
else
$('current_password').up(4).hide();
$('current_password').removeClassName('required-entry');
$('password').removeClassName('required-entry');
$('confirmation').removeClassName('required-entry');
<?php if($this->getCustomer()->getChangePassword()): ?>
setPasswordForm(true);
<?php endif; ?>
//]]>
customer-account password magento1.9.3
add a comment |
I have problem in customer/account/edit/
page the customer can't update his information without fill current password field even if he doesn't checked the change password checkbox, if the customer try to change his date this message will appear "Invalid current password"
Anyone could help me please ?
The codes used
<li class="control">
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Change Password')) ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
</li>
<li class="fields">
<div>
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
<div class="input-box">
<!-- This is a dummy hidden field to trick firefox from auto filling the password -->
<input type="text" disabled class="input-text no-display" name="dummy" id="dummy" />
<input type="password" disabled title="<?php echo Mage::helper('core')->quoteEscape($this->__('Current Password')) ?>" class="input-text" name="current_password" id="current_password" />
</div>
</div>
</li>
<li class="fields">
<div>
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
<div class="input-box">
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('New Password')) ?>" class="input-text validate-password" name="password" id="password" />
</div>
</div>
</li>
<li class="fields">
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
<div class="input-box">
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm New Password')) ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
</div>
</li>
//<![CDATA[
var dataForm = new VarienForm('form-validate', true);
function setPasswordForm(arg)
if (arg)
$('current_password').up(4).show();
$('current_password').addClassName('required-entry');
$('password').addClassName('required-entry');
$('confirmation').addClassName('required-entry');
else
$('current_password').up(4).hide();
$('current_password').removeClassName('required-entry');
$('password').removeClassName('required-entry');
$('confirmation').removeClassName('required-entry');
<?php if($this->getCustomer()->getChangePassword()): ?>
setPasswordForm(true);
<?php endif; ?>
//]]>
customer-account password magento1.9.3
add a comment |
I have problem in customer/account/edit/
page the customer can't update his information without fill current password field even if he doesn't checked the change password checkbox, if the customer try to change his date this message will appear "Invalid current password"
Anyone could help me please ?
The codes used
<li class="control">
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Change Password')) ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
</li>
<li class="fields">
<div>
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
<div class="input-box">
<!-- This is a dummy hidden field to trick firefox from auto filling the password -->
<input type="text" disabled class="input-text no-display" name="dummy" id="dummy" />
<input type="password" disabled title="<?php echo Mage::helper('core')->quoteEscape($this->__('Current Password')) ?>" class="input-text" name="current_password" id="current_password" />
</div>
</div>
</li>
<li class="fields">
<div>
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
<div class="input-box">
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('New Password')) ?>" class="input-text validate-password" name="password" id="password" />
</div>
</div>
</li>
<li class="fields">
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
<div class="input-box">
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm New Password')) ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
</div>
</li>
//<![CDATA[
var dataForm = new VarienForm('form-validate', true);
function setPasswordForm(arg)
if (arg)
$('current_password').up(4).show();
$('current_password').addClassName('required-entry');
$('password').addClassName('required-entry');
$('confirmation').addClassName('required-entry');
else
$('current_password').up(4).hide();
$('current_password').removeClassName('required-entry');
$('password').removeClassName('required-entry');
$('confirmation').removeClassName('required-entry');
<?php if($this->getCustomer()->getChangePassword()): ?>
setPasswordForm(true);
<?php endif; ?>
//]]>
customer-account password magento1.9.3
I have problem in customer/account/edit/
page the customer can't update his information without fill current password field even if he doesn't checked the change password checkbox, if the customer try to change his date this message will appear "Invalid current password"
Anyone could help me please ?
The codes used
<li class="control">
<input type="checkbox" name="change_password" id="change_password" value="1" onclick="setPasswordForm(this.checked)" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Change Password')) ?>"<?php if($this->getCustomer()->getChangePassword()==1): ?> checked="checked"<?php endif; ?> class="checkbox" /><label for="change_password"><?php echo $this->__('Change Password') ?></label>
</li>
<li class="fields">
<div>
<label for="current_password" class="required"><em>*</em><?php echo $this->__('Current Password') ?></label>
<div class="input-box">
<!-- This is a dummy hidden field to trick firefox from auto filling the password -->
<input type="text" disabled class="input-text no-display" name="dummy" id="dummy" />
<input type="password" disabled title="<?php echo Mage::helper('core')->quoteEscape($this->__('Current Password')) ?>" class="input-text" name="current_password" id="current_password" />
</div>
</div>
</li>
<li class="fields">
<div>
<label for="password" class="required"><em>*</em><?php echo $this->__('New Password') ?></label>
<div class="input-box">
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('New Password')) ?>" class="input-text validate-password" name="password" id="password" />
</div>
</div>
</li>
<li class="fields">
<label for="confirmation" class="required"><em>*</em><?php echo $this->__('Confirm New Password') ?></label>
<div class="input-box">
<input type="password" title="<?php echo Mage::helper('core')->quoteEscape($this->__('Confirm New Password')) ?>" class="input-text validate-cpassword" name="confirmation" id="confirmation" />
</div>
</li>
//<![CDATA[
var dataForm = new VarienForm('form-validate', true);
function setPasswordForm(arg)
if (arg)
$('current_password').up(4).show();
$('current_password').addClassName('required-entry');
$('password').addClassName('required-entry');
$('confirmation').addClassName('required-entry');
else
$('current_password').up(4).hide();
$('current_password').removeClassName('required-entry');
$('password').removeClassName('required-entry');
$('confirmation').removeClassName('required-entry');
<?php if($this->getCustomer()->getChangePassword()): ?>
setPasswordForm(true);
<?php endif; ?>
//]]>
customer-account password magento1.9.3
customer-account password magento1.9.3
edited Jun 17 at 17:07
Mukesh
9431 gold badge15 silver badges45 bronze badges
9431 gold badge15 silver badges45 bronze badges
asked Jul 16 '17 at 21:42
MichaelCostaMichaelCosta
206 bronze badges
206 bronze badges
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You have to change app/code/core/Mage/Customer/controllers/AccountController.php
For this behavoir these lines have to be moved after if ($customer->getIsChangePassword()) {
if (!$customer->validatePassword($this->getRequest()->getPost('current_password')))
$errors[] = $this->__('Invalid current password');
... BUT you shouldn't do this!
-1
IMHO this validation is fine like it is. If developer's intention was to check current password just for changing password this input would be hidden until marking checkbox "change password".
and
IMHO to edit non-passwords account data from version 1.9.3.0 you have to provide current password too.
Magento CE 1.9.3.0 Release Notes, section Password enhancements
- When a user changes their e-mail address, they are required to provide their password and to acknowledge the change from the previous address.
Had same question/problem in the past ... and have closes this pull request.
1
Thaaanks bro! Perfect. solved the problem. But I followed your recommendation, put the password confirmation outside of the div to maintain data security hugs.
– MichaelCosta
Jul 16 '17 at 22:44
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f183978%2fcustomer-cant-edit-his-information-without-entering-current-password%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You have to change app/code/core/Mage/Customer/controllers/AccountController.php
For this behavoir these lines have to be moved after if ($customer->getIsChangePassword()) {
if (!$customer->validatePassword($this->getRequest()->getPost('current_password')))
$errors[] = $this->__('Invalid current password');
... BUT you shouldn't do this!
-1
IMHO this validation is fine like it is. If developer's intention was to check current password just for changing password this input would be hidden until marking checkbox "change password".
and
IMHO to edit non-passwords account data from version 1.9.3.0 you have to provide current password too.
Magento CE 1.9.3.0 Release Notes, section Password enhancements
- When a user changes their e-mail address, they are required to provide their password and to acknowledge the change from the previous address.
Had same question/problem in the past ... and have closes this pull request.
1
Thaaanks bro! Perfect. solved the problem. But I followed your recommendation, put the password confirmation outside of the div to maintain data security hugs.
– MichaelCosta
Jul 16 '17 at 22:44
add a comment |
You have to change app/code/core/Mage/Customer/controllers/AccountController.php
For this behavoir these lines have to be moved after if ($customer->getIsChangePassword()) {
if (!$customer->validatePassword($this->getRequest()->getPost('current_password')))
$errors[] = $this->__('Invalid current password');
... BUT you shouldn't do this!
-1
IMHO this validation is fine like it is. If developer's intention was to check current password just for changing password this input would be hidden until marking checkbox "change password".
and
IMHO to edit non-passwords account data from version 1.9.3.0 you have to provide current password too.
Magento CE 1.9.3.0 Release Notes, section Password enhancements
- When a user changes their e-mail address, they are required to provide their password and to acknowledge the change from the previous address.
Had same question/problem in the past ... and have closes this pull request.
1
Thaaanks bro! Perfect. solved the problem. But I followed your recommendation, put the password confirmation outside of the div to maintain data security hugs.
– MichaelCosta
Jul 16 '17 at 22:44
add a comment |
You have to change app/code/core/Mage/Customer/controllers/AccountController.php
For this behavoir these lines have to be moved after if ($customer->getIsChangePassword()) {
if (!$customer->validatePassword($this->getRequest()->getPost('current_password')))
$errors[] = $this->__('Invalid current password');
... BUT you shouldn't do this!
-1
IMHO this validation is fine like it is. If developer's intention was to check current password just for changing password this input would be hidden until marking checkbox "change password".
and
IMHO to edit non-passwords account data from version 1.9.3.0 you have to provide current password too.
Magento CE 1.9.3.0 Release Notes, section Password enhancements
- When a user changes their e-mail address, they are required to provide their password and to acknowledge the change from the previous address.
Had same question/problem in the past ... and have closes this pull request.
You have to change app/code/core/Mage/Customer/controllers/AccountController.php
For this behavoir these lines have to be moved after if ($customer->getIsChangePassword()) {
if (!$customer->validatePassword($this->getRequest()->getPost('current_password')))
$errors[] = $this->__('Invalid current password');
... BUT you shouldn't do this!
-1
IMHO this validation is fine like it is. If developer's intention was to check current password just for changing password this input would be hidden until marking checkbox "change password".
and
IMHO to edit non-passwords account data from version 1.9.3.0 you have to provide current password too.
Magento CE 1.9.3.0 Release Notes, section Password enhancements
- When a user changes their e-mail address, they are required to provide their password and to acknowledge the change from the previous address.
Had same question/problem in the past ... and have closes this pull request.
edited Jul 16 '17 at 22:07
answered Jul 16 '17 at 21:59
sv3nsv3n
10.1k6 gold badges25 silver badges57 bronze badges
10.1k6 gold badges25 silver badges57 bronze badges
1
Thaaanks bro! Perfect. solved the problem. But I followed your recommendation, put the password confirmation outside of the div to maintain data security hugs.
– MichaelCosta
Jul 16 '17 at 22:44
add a comment |
1
Thaaanks bro! Perfect. solved the problem. But I followed your recommendation, put the password confirmation outside of the div to maintain data security hugs.
– MichaelCosta
Jul 16 '17 at 22:44
1
1
Thaaanks bro! Perfect. solved the problem. But I followed your recommendation, put the password confirmation outside of the div to maintain data security hugs.
– MichaelCosta
Jul 16 '17 at 22:44
Thaaanks bro! Perfect. solved the problem. But I followed your recommendation, put the password confirmation outside of the div to maintain data security hugs.
– MichaelCosta
Jul 16 '17 at 22:44
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f183978%2fcustomer-cant-edit-his-information-without-entering-current-password%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown