21493 Posts in 5784 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 445 Views |
-
How can I get a generateAutologinHash?

26 August 2010 at 1:39pm
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';
$newMember->write();
$generateAutologinHash=$newMember->generateAutologinHash(7);
| 445 Views | ||
|
Page:
1
|
Go to Top |

