Jump to:

23007 Posts in 11866 Topics by 2828 members

General Questions

SilverStripe Forums » General Questions » Creating a Member

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

Page: 1
Go to End
Author Topic: 187 Views
  • StuM
    Avatar
    Community Member
    56 Posts

    Creating a Member Link to this post

    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?

    187 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.