On Tue, Feb 9, 2010 at 7:14 AM, RubyonRails_newbie <[email protected]> wrote: > how would I go about resetting the password for the user to then go > ahead and change to something more memorable? > > Is there a tutorial about this, or can you explain how this is > achieved? > Not sure if there are tutorials for this or not. I got my authorization and authentication code from "Rails Recipes" and "Agile Development with Rails".
You should have a change password page anyways. Just create the standard reset password page that takes the existing password and two new passwords and changes the password to the new one. It should work a lot like the registration page. Then when a user requests a new password, you randomly generate one, set it as there password, then email them to new password and a link the change password page. -- Curtis Cooley [email protected] home:http://curtiscooley.com blog:http://ponderingobjectorienteddesign.blogspot.com =============== Leadership is a potent combination of strategy and character. But if you must be without one, be without the strategy. -- H. Norman Schwarzkopf -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

