Welcome to mirror list, hosted at ThFree Co, Russian Federation.

duo_auth.rb « otp « auth « gitlab « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: eeae04bc08ba082724976f9b08adbd136187eb51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

module Gitlab
  module Auth
    module Otp
      module DuoAuth
        def duo_auth_enabled?(_user)
          ::Gitlab.config.duo_auth.enabled
        end
      end
    end
  end
end