debian-mirror-gitlab/lib/gitlab/auth/otp/duo_auth.rb
2023-05-27 22:25:52 +05:30

13 lines
215 B
Ruby

# 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