From: Tomas Doran Date: Thu, 23 Feb 2012 22:14:19 +0000 (+0000) Subject: Fix broken synopsis. RT#75254 X-Git-Tag: v1.015~4 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Credential-HTTP.git;a=commitdiff_plain;h=9a901542eb71c65ee85ff34fd1f2524f182fc306 Fix broken synopsis. RT#75254 --- diff --git a/Changes b/Changes index 805ebce..b6d1486 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,6 @@ +1.015 2012-02-23 + - Fix broken synopsis. RT#75254 + 1.014 2012-02-05 - Add require_ssl configuration setting. - Add no_unprompted_authorization_required configuration setting. diff --git a/lib/Catalyst/Authentication/Credential/HTTP.pm b/lib/Catalyst/Authentication/Credential/HTTP.pm index eb56668..78f5948 100644 --- a/lib/Catalyst/Authentication/Credential/HTTP.pm +++ b/lib/Catalyst/Authentication/Credential/HTTP.pm @@ -433,7 +433,7 @@ for Catalyst. sub foo : Local { my ( $self, $c ) = @_; - $c->authenticate({ realm => "example" }); + $c->authenticate({}, "example"); # either user gets authenticated or 401 is sent # Note that the authentication realm sent to the client (in the # RFC 2617 sense) is overridden here, but this *does not*