Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Creating a Member


Reply


303 Views

Avatar
StuM

Community Member, 56 Posts

19 April 2013 at 3:29pm

Hi All,

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?