projects
/
catagits/Catalyst-Plugin-Authentication.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
allow the realm to use session even if main auth module doesn't
[catagits/Catalyst-Plugin-Authentication.git]
/
lib
/
Catalyst
/
Authentication
/
Realm
/
Compatibility.pm
diff --git
a/lib/Catalyst/Authentication/Realm/Compatibility.pm
b/lib/Catalyst/Authentication/Realm/Compatibility.pm
index
bceba97
..
3d188a9
100644
(file)
--- a/
lib/Catalyst/Authentication/Realm/Compatibility.pm
+++ b/
lib/Catalyst/Authentication/Realm/Compatibility.pm
@@
-14,6
+14,7
@@
sub new {
my $self = { config => $config };
bless $self, $class;
+ $self->config->{'use_session'} = $app->config->{'Plugin::Authentication'}{'use_session'} || '1';
$self->name($realmname);
return $self;