Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

$Password variable in ForgotPasswordEmail.ss


Reply

2 Posts   1577 Views

Avatar
Josh

4 April 2008 at 9:50am SilverStripe Developer, 65 Posts

Hey,

I have set up a ForgotPasswordEmail.ss template as defined here: http://doc.silverstripe.com/doku.php?id=member_forgotpasswordemail

When I retrieve a password it emails me the SHA1 hash using the $Password variable.

Where is $Password defined? or how do I got about returning the string password instead of the encrypted version.

Woohoo!

Avatar
artlung

21 November 2008 at 8:10am Community Member, 10 Posts

I had the same problem -- saved a file as directed in [url]http://doc.silverstripe.com/doku.php?id=member_forgotpasswordemail[/url]: the email came out like this:

username: $Email
password:: $Password

username: joe@artlung.com
password:: snokow8dkuso04g4g8ksgs0s8owk8ks

Got the hash and not the password.

Version 2.2.2.