gitlab-org--gitlab-foss/app/helpers/sessions_helper.rb

7 lines
153 B
Ruby

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