X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FAuthentication%2FRealm%2FCompatibility.pm;fp=lib%2FCatalyst%2FAuthentication%2FRealm%2FCompatibility.pm;h=e91ea20896a8005538b78c884dcee32870ee3d8e;hb=8462436bfc2bc8197cc4823b314630103d2bcd27;hp=3d188a946bd7bc926872c73d5a72c16cc2ab81b0;hpb=202af0af514771dd8e14557e971467c522eae3f4;p=catagits%2FCatalyst-Plugin-Authentication.git diff --git a/lib/Catalyst/Authentication/Realm/Compatibility.pm b/lib/Catalyst/Authentication/Realm/Compatibility.pm index 3d188a9..e91ea20 100644 --- a/lib/Catalyst/Authentication/Realm/Compatibility.pm +++ b/lib/Catalyst/Authentication/Realm/Compatibility.pm @@ -6,17 +6,17 @@ use warnings; use base qw/Catalyst::Authentication::Realm/; ## very funky - the problem here is that we can't do real realm initialization -## but we need a real realm object to function. So - we kinda fake it - we -## create an empty object - +## but we need a real realm object to function. So - we kinda fake it - we +## create an empty object - sub new { my ($class, $realmname, $config, $app) = @_; - + my $self = { config => $config }; bless $self, $class; - + $self->config->{'use_session'} = $app->config->{'Plugin::Authentication'}{'use_session'} || '1'; $self->name($realmname); - + return $self; }