Revision history for Perl extension Catalyst::Plugin::Authentication
- Fix typos in documentation (RT#49476)
+ - Fix compatibilty with Catalyst 5.70 (RT#50466)
0.10015 Tue Sep 1 01:40:36 BST 2009
my $remuser;
if ($self->source eq "REMOTE_USER") {
# compatibility hack:
- if (defined($c->engine->env)) {
+ if ($c->engine->can('env') && defined($c->engine->env)) {
# BEWARE: $c->engine->env was broken prior 5.80005
$remuser = $c->engine->env->{REMOTE_USER};
}