forked from lix-project/hydra
Plugin::Authentication config: modernize
Some time in the last decade the plugin switched to preferring a flatter namespace for realm config. Co-authored-by: Graham Christensen <graham@grahamc.com>
This commit is contained in:
parent
b9bcedbfdb
commit
d4d8f1ba1b
|
@ -27,9 +27,9 @@ our $VERSION = '0.01';
|
||||||
__PACKAGE__->config(
|
__PACKAGE__->config(
|
||||||
name => 'Hydra',
|
name => 'Hydra',
|
||||||
default_view => "TT",
|
default_view => "TT",
|
||||||
authentication => {
|
'Plugin::Authentication' => {
|
||||||
default_realm => "dbic",
|
default_realm => "dbic",
|
||||||
realms => {
|
|
||||||
dbic => {
|
dbic => {
|
||||||
credential => {
|
credential => {
|
||||||
class => "Password",
|
class => "Password",
|
||||||
|
@ -48,7 +48,6 @@ __PACKAGE__->config(
|
||||||
file($ENV{'HYDRA_LDAP_CONFIG'})
|
file($ENV{'HYDRA_LDAP_CONFIG'})
|
||||||
) : undef
|
) : undef
|
||||||
},
|
},
|
||||||
},
|
|
||||||
'Plugin::Static::Simple' => {
|
'Plugin::Static::Simple' => {
|
||||||
send_etag => 1,
|
send_etag => 1,
|
||||||
expires => 3600
|
expires => 3600
|
||||||
|
|
Loading…
Reference in a new issue