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   1661 Views

Avatar
Josh

SilverStripe Developer, 65 Posts

4 April 2008 at 9:50am

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

Community Member, 10 Posts

21 November 2008 at 8:10am

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.