Forum: Ruby on Rails RE: Retrieving SHG Password

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Tom (Guest)
on 2005-11-26 02:44
(Received via mailing list)
The SLG puts the hashed password in the 'salted_password' member of the
User model that was generated.



If you want to get the original password text: you can't.  The password
is hashed (not encrypted), and that is not reversible to extract the
original password.



If your user forgets their password, all you can do is let them set a
new one, and the SLG has a bunch of code to send a 'security token' to
the user that is, in effect, a temporary password that expires fairly
quickly.



________________________________

From: Nicholas Van W. [mailto:removed_email_address@domain.invalid]
Sent: Friday, November 25, 2005 2:30 PM
To: removed_email_address@domain.invalid
Subject: [Rails] Retrieving SHG Password



How does one retrive an encryped password generated with the Salted
Login Generator?

Thanks,
Nick
This topic is locked and can not be replied to.