23373 Posts in 18175 Topics by 2865 members
|Go to End|
19 April 2013 at 3:29pm
I've created many SilverStripe sites, whenever I've had a custom 'joining' function for members, I've just passed the password to Member::update($data) and it's handled generating the salt and encoding it etc.
I'm currently building a SilverStripe 3 site, and tried the same method but the password doesn't work. If Member::changePassword() is used after the Member is first written, it seems to work but requires writing the member record a second time. Is this deliberate behaviour or is it a bug?
|Go to Top|