debian-mirror-gitlab/lib/gitlab/auth/otp/duo_auth.rb

14 lines
215 B
Ruby
Raw Normal View History

2023-05-27 22:25:52 +05:30
# 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