0.10011 *UNRELEASED*
- Update t/live_app_session.t to skip unless you have a newer, more
reliable version of TWMC (RT#43817)
+ - Change check for isa Catalyst::Plugin::Session to just check the
+ existance of a session method. (Edmund von der Burg)
0.10010
- Change from NEXT to MRO::Compat
my ($self, $c) = @_;
return unless
- $c->isa("Catalyst::Plugin::Session")
+ $c->can('session')
and $self->config->{'use_session'}
and $c->session_is_valid;
my ($self, $c, $user) = @_;
if (
- $c->isa("Catalyst::Plugin::Session")
+ $c->can('session')
and $self->config->{'use_session'}
and $user->supports("session")
) {
my ($self, $c) = @_;
if (
- $c->isa("Catalyst::Plugin::Session")
+ $c->can('session')
and $self->config->{'use_session'}
and $c->session_is_valid
) {
## if we have a valid session handler - we store the
## realm in the session. If not - we have to hope that
## the realm can recognize its frozen user somehow.
- if ($c->isa("Catalyst::Plugin::Session") &&
+ if ($c->can('session') &&
$c->config->{'Plugin::Authentication'}{'use_session'} &&
$c->session_is_valid) {
my $c = shift;
my $realm;
- if ($c->isa("Catalyst::Plugin::Session")
+ if ($c->can('session')
and $c->config->{'Plugin::Authentication'}{'use_session'}
and $c->session_is_valid
and exists($c->session->{'__user_realm'})) {