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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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


968 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?