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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Creating a Member


Go to End


587 Views

Avatar
StuM

Community Member, 59 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?