devise
https://github.com/plataformatec/devise
Ruby
Flexible authentication solution for Rails with Warden.
Devise::PasswordsController#unlockable?
Check if proper Lockable module methods are present & unlock strategy allows to unlock resource on password reset
Edit
git clone [email protected]:plataformatec/devise.git
cd devise
open app/controllers/devise/passwords_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Devise--PasswordsController-unlockable--for-pr
# Commit to gitgit add app/controllers/devise/passwords_controller.rbgit commit -m "better docs for Devise::PasswordsController#unlockable?"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Devise--PasswordsController-unlockable--for-pr
hub pull-request
# Celebrate!