I wish to turn off the need for a password to be entered to log in.
I have a specific need for this on one site. There is no payment information being sent or saved.
How do I turn off the password requirement?
Thanks,
Scott
I wish to turn off the need for a password to be entered to log in.
I have a specific need for this on one site. There is no payment information being sent or saved.
How do I turn off the password requirement?
Thanks,
Scott
Um .... the password also protects the customer's personal information.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I just imported 1,281 customers from a Miva database. I have no passwords for them.
If you simply want to allow customers to log in using their blank password, you could start by altering the password_funcs.php function file:Code:function zen_validate_password($plain, $encrypted) { if (zen_not_null($plain) && zen_not_null($encrypted)) { // split apart the hash / salt $stack = explode(':', $encrypted); if (sizeof($stack) != 2) return false; if (md5($stack[1] . $plain) == $stack[0]) { return true; } } elseif ($plain =='' && $encrypted == '') { return true; } return false; }
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I was able to get the passwords.
Thanks for your help.
I have another site that the owner does not want a password. He only wants the email for login.
Changing the code to this did not work
Code:function zen_validate_password($plain, $encrypted) { if (zen_not_null($plain) && zen_not_null($encrypted)) { // split apart the hash / salt $stack = explode(':', $encrypted); if (sizeof($stack) != 2) return false; if (md5($stack[1] . $plain) == $stack[0]) { return true; } } elseif ($plain =='' && $encrypted == '') { return true; } return false; }
they plan on storing users information based on a single login credential ( a public one at that )
you did explain how they are setting themselves up right?
Zen cart PCI compliant Hosting
Yes I did.