Jump to:

23453 Posts in 18902 Topics by 2877 members

General Questions

SilverStripe Forums » General Questions » How can I get a generateAutologinHash?

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: 681 Views
  • DeklinKelly
    Community Member
    197 Posts

    How can I get a generateAutologinHash? Link to this post

    How can I use generateAutologinHash?

    From Page.php I want to create a new user and then send an email to the new user containing the password reset hash.

    But I do not know how to generate or get the AutologinHash.

    This does NOT work:

    $newMember = new Member();
    $newMember->Email = 'xyz@example.com';

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.