X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAuthentication%2FStore%2FLDAP%2FBackend.pm;fp=lib%2FCatalyst%2FAuthentication%2FStore%2FLDAP%2FBackend.pm;h=90b170ee9c0cf7c35b56cd3197b373a8cf44724b;hb=d7ddb040641529c6c1b754ff1f4ac38e2d1166b5;hp=e23c77fe70420f735ae2089f80a6661d5eb68553;hpb=aa44391ef3a7c8733af638f12421df48c6c759bd;p=catagits%2FCatalyst-Authentication-Store-LDAP.git diff --git a/lib/Catalyst/Authentication/Store/LDAP/Backend.pm b/lib/Catalyst/Authentication/Store/LDAP/Backend.pm index e23c77f..90b170e 100644 --- a/lib/Catalyst/Authentication/Store/LDAP/Backend.pm +++ b/lib/Catalyst/Authentication/Store/LDAP/Backend.pm @@ -126,6 +126,7 @@ sub new { $config_hash{'user_class'} ||= 'Catalyst::Authentication::Store::LDAP::User'; $config_hash{'role_search_as_user'} ||= 0; + $config_hash{'persist_in_session'} ||= 'username'; Catalyst::Utils::ensure_class_loaded( $config_hash{'user_class'} ); my $self = \%config_hash;