You can send an e-mail with password reset link.
I use follow code for send uncrypted password, after that system will
encrypt the password
http://www.railsgeek.com/2009/1/6/generate-random-password-in-rails
You can send an e-mail with password reset link.
I use follow code for send uncrypted password, after that system will
encrypt the passwordhttp://www.railsgeek.com/2009/1/6/generate-random-password-in-rails
If you're asking whether you can retrieve the password to send it to
forgetful users, the answer is no you can't.
Fred
sure, you can't send the forgotten password. So, more secure way is to
store hashed password instead uncrypted one.
I usually send a password's reset link via e-mail.
I just publish an article with using before_on_create callback,
because is more useful way, which declare principe: Skinny
controllers, fat models.