debian-mirror-gitlab/app/helpers/sessions_helper.rb
2019-10-12 21:52:04 +05:30

7 lines
153 B
Ruby

# frozen_string_literal: true
module SessionsHelper
def unconfirmed_email?
flash[:alert] == t(:unconfirmed, scope: [:devise, :failure])
end
end