We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db90139 commit c70eb0aCopy full SHA for c70eb0a
lib/devise/models/confirmable.rb
@@ -75,7 +75,7 @@ def confirm(args={})
75
76
self.confirmed_at = Time.now.utc
77
78
- saved = if self.class.reconfirmable && unconfirmed_email.present?
+ saved = if pending_reconfirmation?
79
skip_reconfirmation!
80
self.email = unconfirmed_email
81
self.unconfirmed_email = nil
0 commit comments