don't try to load HYDRA_LDAP_CONFIG if none is provided
This commit is contained in:
parent
b9ff7b2671
commit
c00b42dced
|
@ -45,9 +45,9 @@ __PACKAGE__->config(
|
|||
role_field => "role",
|
||||
},
|
||||
},
|
||||
ldap => LoadFile(
|
||||
file($ENV{'HYDRA_LDAP_CONFIG'})
|
||||
)
|
||||
ldap => $ENV{'HYDRA_LDAP_CONFIG'} ? LoadFile(
|
||||
file($ENV{'HYDRA_LDAP_CONFIG'})
|
||||
) : undef
|
||||
},
|
||||
},
|
||||
'Plugin::Static::Simple' => {
|
||||
|
|
Loading…
Reference in a new issue