debian-mirror-gitlab/app/helpers/accounts_helper.rb
2023-06-20 00:43:36 +05:30

7 lines
194 B
Ruby

# frozen_string_literal: true
module AccountsHelper
def incoming_email_token_enabled?
current_user.incoming_email_token && Gitlab::Email::IncomingEmail.supports_issue_creation?
end
end