]> git.decadent.org.uk Git - maypole.git/blobdiff - lib/Maypole.pm
Pass the request into authenticate twice. It makes sense.
[maypole.git] / lib / Maypole.pm
index bbe490565ab149f862eefc812a6343fa06457bf7..4e551eb45d241151495907c4fa0a8ca1a9c2ea78 100644 (file)
@@ -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 {}