lib/devise/multi_email/models/confirmable.rb
def inactive_message
          login_email = multi_email.login_email_record

          if login_email && !login_email.primary? && !login_email.confirmed?
            :unconfirmed
          else
            super
          end
        end
# Shows email not confirmed instead of account inactive when the email that user used to login is not confirmed
Shows email not confirmed instead of account inactive when the email that user used to login is not confirmed
Shows email not confirmed instead of account inactive when the email that user used to login is not confirmed
def inactive_message
          login_email = multi_email.login_email_record
          if login_email && !login_email.primary? && !login_email.confirmed?
            :unconfirmed
          else
            super
          end
        end
def inactive_message login_email = multi_email . login_email_record if login_email && ! login_email . primary? && ! login_email . confirmed? :unconfirmed else super end end
Shows email not confirmed instead of account inactive when the email that user used to login is not confirmed
Shows email not confirmed instead of account inactive when the email that user used to login is not confirmed