Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

History / How To: Override confirmations so users can pick their own passwords as part of confirmation activation

Compare Revisions

Revisions

@zernel zernel Updated How To: Override confirmations so users can pick their own passwords as part of confirmation activation (markdown) d0d1a8f
@plribeiro3000 plribeiro3000 Revert 8ce08ba96f2367c64286a1065b6334ab1566e120 ... 0b7da1683d8b30e175a1b41f47afaf92bb35989f on How To: Override confirmations so users can pick their own passwords as part of confirmation activation 310f191
@plribeiro3000 plribeiro3000 Updated How To: Override confirmations so users can pick their own passwords as part of confirmation activation (markdown) 0b7da16
@plribeiro3000 plribeiro3000 There is no need to define a proxy method. Just call the new method name! bef0ed2
@chrisbloom7 chrisbloom7 Revert faa4a4571d0bf654f2699ecc6f43d837b3054c8a ... 5b86103af6f9aa323207f4fae0cf34d30d8380f2 on How To: Override confirmations so users can pick their own passwords as part of confirmation activation 8ce08ba
@chrisbloom7 chrisbloom7 Removing the `attempt_set_password` method from the Rails 2.3 + Devise 1.0 section because it would always generate a password even if the password confirmation didn't match 5b86103
@inem inem Updated How To: Override confirmations so users can pick their own passwords as part of confirmation activation (markdown) faa4a45
@wahidlahlou wahidlahlou @confirmable stays valid when the password is blank, leting confirmation to happen. Needed to reuse password_blank? to unsure validation. 4a24db7
@Charizard Charizard Typo fix 1f5e035
@jontelm jontelm Changes for Rails 4 8960b24
@sfsgagi sfsgagi Confirmation token should be unique. If there are more than 1 existing user it will violate the constraint with the same 'Grandfathered account' token and migration won't pass. It works without it or constraint should be created after update_all. d6ca027
@ciniglio ciniglio Updated How To: Override confirmations so users can pick their own passwords as part of confirmation activation (markdown) fa59297
@stuartjmoore stuartjmoore Remove title from body. 4ab346a
@jmeridth jmeridth roll my changes back. would help if I'd read that the Rails 3 and Devise 2 were just modifications to the Rails 3 and Devise 1.2 instructions. Sigh. 8235aa9
@jmeridth jmeridth Updated How To: Override confirmations so users can pick their own passwords as part of confirmation activation (markdown) e42e7b7
@jmeridth jmeridth Updated How To: Override confirmations so users can pick their own passwords as part of confirmation activation (markdown) effb7f9
@jmeridth jmeridth Added code to change routes when using Rails 3 and Devise 2 50e2d1f
@reshun reshun Updated How To: Override confirmations so users can pick their own passwords as part of confirmation activation (markdown) 45ed270
sjtipton Explicitly set self.resource as @confirmable to handle a re-confirmation attempt. If a User is already confirmed, and attempts to GET the resource for setting the password and confirming, the confirmation_token is unable to find a valid User object, and therefore throws an ActionView::TemplateError when trying to render devise_error_messages! with an undefined method `errors` for nil:NilClass. 3399324
sjtipton Add example for testing controller inheritance (based on 9bc8950) 093c8fb
sjtipton Inherit ConfirmationsController from Devise::ConfirmationsController; otherwise, reset password email template will be used for the mailer. 9bc8950
@kubido kubido Updated How To: Override confirmations so users can pick their own passwords as part of confirmation activation (markdown) 70a8174
@kubido kubido Updated How To: Override confirmations so users can pick their own passwords as part of confirmation activation (markdown) 2fc0b81
@graywh graywh Remove link to non-existent page (was it renamed?) 4a3329e
@alephnullplex alephnullplex minor spelling and grammar dadbcb3
@KevinTriplett KevinTriplett Modify url for two-step confirmation how-to 765951d
@KevinTriplett KevinTriplett minor edit re alternate method 4f7bc7e
@KevinTriplett KevinTriplett reference an alternate approach that is simpler 1ca407c
JunichiIto Added 4) Update `config/intializers/devise.rb` d4be3e6
JunichiIto Added the section 3) Lists the database fields explicitly for your migrations 4cdd2e8
Something went wrong with that request. Please try again.