debian-mirror-gitlab/app/helpers/accounts_helper.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
194 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2017-08-17 22:00:37 +05:30
module AccountsHelper
def incoming_email_token_enabled?
2023-06-20 00:43:36 +05:30
current_user.incoming_email_token && Gitlab::Email::IncomingEmail.supports_issue_creation?
2017-08-17 22:00:37 +05:30
end
end