# File lib/devise/models/confirmable.rb, line 62 def active_for_authentication? super && (!confirmation_required? || confirmed? || confirmation_period_valid?) end