From: Tomas Doran Date: Mon, 6 Oct 2008 17:46:02 +0000 (+0000) Subject: Make auth configuration in the synopis actually work by including a default_realm... X-Git-Tag: v1.006~1 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Credential-HTTP.git;a=commitdiff_plain;h=5a73fc8da38b8bf5e74a1680efe9875423c0a25d Make auth configuration in the synopis actually work by including a default_realm key, this will confuse less people who try to copy and paste the synopsis to get going. --- diff --git a/lib/Catalyst/Authentication/Credential/HTTP.pm b/lib/Catalyst/Authentication/Credential/HTTP.pm index 8765a43..2814830 100644 --- a/lib/Catalyst/Authentication/Credential/HTTP.pm +++ b/lib/Catalyst/Authentication/Credential/HTTP.pm @@ -384,6 +384,7 @@ for Catalyst. /; __PACKAGE__->config( authentication => { + default_realm => 'example', realms => { example => { credential => {