Skip to content

History / How To: Email only sign up

Revisions

  • Prevent hijacking of already confirmed accounts

    @ssendev ssendev committed Mar 5, 2013
  • When working with this setup I discovered that once I person has clicked a confirmation link the token will no longer be valid and will return a nil object, this is my addition for fixing this problem.

    @rbclark rbclark committed Feb 18, 2013
  • Add syntax highlighting to code samples

    @jeffperrin jeffperrin committed Jan 23, 2013
  • re-arrange the introductory text so the credit comes last

    KevinTriplett committed Jan 19, 2013
  • re-write the introductory text for clarity

    KevinTriplett committed Jan 19, 2013
  • added except in update_attributes for confirmation_token. Writing it was triggering a mass assignment error, which arguably makes sense as the user has no reason to be setting the confirmation token.

    @seltzered seltzered committed Aug 21, 2012
  • Never mind, I guess it calls super

    @TylerRick TylerRick committed Aug 16, 2012
  • Noticed that it used resource_class.confirm_by_token rather than resource_class.find_by_confirmation_token in app/controllers/devise/confirmations_controller.rb

    @TylerRick TylerRick committed Aug 16, 2012
  • Re-write text a bit to clarify -- no change to code.

    KevinTriplett committed Jul 20, 2012
  • Filename should be confirmations_controller.rb

    @taylorbrooks taylorbrooks committed Jun 21, 2012
  • remove extraneous reference to sessions controller and remove mention of probbaly optional method in model

    KevinTriplett committed Jun 7, 2012
  • change title to more descriptive objective

    KevinTriplett committed Jun 7, 2012