]> git.decadent.org.uk Git - maypole.git/commitdiff
Pass the request into authenticate twice. It makes sense.
authorSimon Cozens <simon@simon-cozens.org>
Thu, 19 Feb 2004 15:43:07 +0000 (15:43 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Thu, 19 Feb 2004 15:43:07 +0000 (15:43 +0000)
git-svn-id: http://svn.maypole.perl.org/Maypole/trunk@69 48953598-375a-da11-a14b-00016c27c3ee

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