don't try to load HYDRA_LDAP_CONFIG if none is provided

This commit is contained in:
edef 2019-10-29 13:12:49 +00:00 committed by Andreas Rammhold
parent b9ff7b2671
commit c00b42dced

View file

@ -45,9 +45,9 @@ __PACKAGE__->config(
role_field => "role", role_field => "role",
}, },
}, },
ldap => LoadFile( ldap => $ENV{'HYDRA_LDAP_CONFIG'} ? LoadFile(
file($ENV{'HYDRA_LDAP_CONFIG'}) file($ENV{'HYDRA_LDAP_CONFIG'})
) ) : undef
}, },
}, },
'Plugin::Static::Simple' => { 'Plugin::Static::Simple' => {