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
) {