Jump to:

23460 Posts in 18907 Topics by 2877 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: 277 Views
  • Craftnet
    Community Member
    58 Posts

    Decrypt password like SS Link to this post

    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
    Forum Moderator
    5497 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.

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.