Fixed typo in error message
[catagits/Catalyst-Authentication-Credential-HTTP-Proxy.git] / 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 ) {