Initial attempt at adding LDAP login support
This commit is contained in:
@@ -20,7 +20,8 @@ use Catalyst qw/ConfigLoader
|
||||
Captcha/,
|
||||
'-Log=warn,fatal,error';
|
||||
use CatalystX::RoleApplicator;
|
||||
|
||||
use YAML qw(LoadFile);
|
||||
use Path::Class 'file';
|
||||
|
||||
our $VERSION = '0.01';
|
||||
|
||||
@@ -44,6 +45,9 @@ __PACKAGE__->config(
|
||||
role_field => "role",
|
||||
},
|
||||
},
|
||||
ldap => LoadFile(
|
||||
file($ENV{'HYDRA_LDAP_CONFIG'})
|
||||
)
|
||||
},
|
||||
},
|
||||
'Plugin::Static::Simple' => {
|
||||
|
Reference in New Issue
Block a user