devise
https://github.com/plataformatec/devise
Ruby
Flexible authentication solution for Rails with Warden.
Devise::RegistrationsController#cancel
GET /resource/cancel Forces the session data which is usually expired after sign in to be expired now. This is useful if the user wants to cancel oauth signing in/up in the middle of the process, removing all OAuth session data.
Edit
git clone [email protected]:plataformatec/devise.git
cd devise
open app/controllers/devise/registrations_controller.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Devise--RegistrationsController-cancel-for-pr
# Commit to gitgit add app/controllers/devise/registrations_controller.rbgit commit -m "better docs for Devise::RegistrationsController#cancel"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Devise--RegistrationsController-cancel-for-pr
hub pull-request
# Celebrate!