gitlab-org--gitlab-foss/app/helpers/sessions_helper.rb
Alex Buijs 0c526db57e Add link to resend confirmation email
This link is shown when a user tries to login with an unconfirmed
email address and the grace period has expired
2019-08-14 21:33:39 +00:00

7 lines
153 B
Ruby

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