Fixed typo in error message
Christian Hansen [Thu, 2 Jun 2005 16:10:50 +0000 (16:10 +0000)]
lib/Catalyst/Plugin/Authenticate/TypeKey.pm

index d6dc8e0..86d91ab 100644 (file)
@@ -11,7 +11,7 @@ sub authenticate_typekey {
     my ( $c, $email, $name, $nick, $ts, $sig, $options ) = @_;
 
     unless ( @_ == 6 || ( @_ == 7 && ref($options) eq 'HASH' ) ) {
-        Carp::croak('usage: $c->authenticate_ldap( $email, $name, $nick, $ts, $sig [, \%options ] )');
+        Carp::croak('usage: $c->authenticate_typekey( $email, $name, $nick, $ts, $sig [, \%options ] )');
     }
 
     unless ( @_ == 7 ) {