diff --git a/src/authm_mad/remotes/x509/x509_auth.rb b/src/authm_mad/remotes/x509/x509_auth.rb index d54ba9b9a3..dbb69746d7 100644 --- a/src/authm_mad/remotes/x509/x509_auth.rb +++ b/src/authm_mad/remotes/x509/x509_auth.rb @@ -29,7 +29,7 @@ class X509Auth if !ENV["ONE_LOCATION"] ETC_LOCATION = "/etc/one" else - ETC_LOCATION = ONE_LOCATION + "/etc" + ETC_LOCATION = ENV["ONE_LOCATION"] + "/etc" end LOGIN_PATH = ENV['HOME']+'/.one/one_x509'