greenisus / forgot_password
- Source
- Commits
- Network (5)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Tree:
67ca556
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Sat Jul 26 18:01:53 -0700 2008 | |
| |
README | ||
| |
Rakefile | Sat Jul 26 18:01:53 -0700 2008 | |
| |
generators/ | ||
| |
init.rb | Sat Jul 26 18:01:53 -0700 2008 | |
| |
install.rb | ||
| |
lib/ | Sat Jul 26 18:01:53 -0700 2008 | |
| |
tasks/ | Sat Jul 26 18:01:53 -0700 2008 | |
| |
test/ | Sat Jul 26 18:01:53 -0700 2008 | |
| |
uninstall.rb | Sat Jul 26 18:01:53 -0700 2008 |
README
Thanks for using forgot_password! In attempt to be flexible enough to work with multiple login systems (mainly restful-authentication and its ancestors), this plugin will generate a new controller to handle forgotten passwords. Your user model must have accessors for password and password_confirmation, and handle its own password encryption. I assume most people are using technoweenie's excellent restful-authentication plugin, so if you are you probably won't have any problems. Usage: ruby script/generate forgot_password <password-model-name> <user-model-name> In most cases, that's probably: ruby script/generate forgot_password password user then run rake db:migrate and enjoy :)

