Jump to:

23490 Posts in 18996 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Decrypt password like SS

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: 280 Views
  • Craftnet
    Avatar
    Community Member
    58 Posts

    Decrypt password like SS Link to this post

    Hi,
    I have form for registration and user register by AJAX
    How to decrypt password like default SS register form?

    Otherwise writing
    How SS decrypt the password - I want in the same way decrypt the password for my form

    Sorry for my bad English

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Decrypt password like SS Link to this post

    You cannot decrypt passwords. If you want to log a user in programmatically you can call

    $data = array(
    'Email' => 'youremail',
    'Password' => 'password'
    );

    $member = MemberAuthenicator::authenication($data);

    if($member) {
    // you're logged in.

    280 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.