silvershop / silvershop-core

SilverShop is an e-commerce shopping cart module for the SilverStripe CMS
http://silvershop.github.io
BSD 2-Clause "Simplified" License
113 stars 119 forks source link

Password is reset when submit the AccountEditForm #733

Open sparkcom opened 4 years ago

sparkcom commented 4 years ago

It looks like this line 48 in silvershop-core/src/Forms/ShopAccountForm.php

' $member->Password = ''; //prevents password field from being populated with encrypted password data /'

needs to be commented out. Otherwise, it makes SS thinks the password is changed and reset the password to a random one.