Skip to content

Commit

Permalink
remove LDAP from envAPI, because it is unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Ithanil committed Oct 26, 2023
1 parent 90c50cc commit 7bd25f0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/api/v1/env_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ class EnvController < ApiController
def index
render_data data: {
OPENID_CONNECT: ENV['OPENID_CONNECT_ISSUER'].present?,
LDAP: ENV['LDAP_SERVER'].present? && ENV['OPENID_CONNECT_ISSUER'].blank?,
EXTERNAL_AUTH: ENV['OPENID_CONNECT_ISSUER'].present? || ENV['LDAP_SERVER'].present?,
HCAPTCHA_KEY: ENV.fetch('HCAPTCHA_SITE_KEY', nil),
VERSION_TAG: ENV.fetch('VERSION_TAG', ''),
Expand Down

0 comments on commit 7bd25f0

Please sign in to comment.