X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=lib%2FMaypole.pm;h=4e551eb45d241151495907c4fa0a8ca1a9c2ea78;hb=41171a7d875dee2febd61adc1d5094aa1f1b8076;hp=bbe490565ab149f862eefc812a6343fa06457bf7;hpb=e82766d6aab88a10e75b4669f44d2dbe7ff9d766;p=maypole.git diff --git a/lib/Maypole.pm b/lib/Maypole.pm index bbe4905..4e551eb 100644 --- a/lib/Maypole.pm +++ b/lib/Maypole.pm @@ -93,8 +93,8 @@ sub is_applicable { sub call_authenticate { my $self = shift; return $self->model_class->authenticate($self) if - $self->model_class->can("authenticate"); - return $self->authenticate(); + $self->model_class->can("authenticate"); + return $self->authenticate($self); # Interface consistency is a Good Thing } sub additional_data {}