X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F05_Authentication.pod;h=fd066b1b7d38134bc5159bc256b94bad296f6f98;hb=19a5b486abf8b8b24c7b5f42b52b52e079081df1;hp=bc1922144f286b965de759a4246c1398f8ebcd14;hpb=13dadd45772562fd6b1da70c751f1606e40f7806;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod index bc19221..fd066b1 100644 --- a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod +++ b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod @@ -279,13 +279,15 @@ C and place the following text above the call to C<__PACKAGE__-Esetup();>: # Configure SimpleDB Authentication - __PACKAGE__->config->{'Plugin::Authentication'} = { + __PACKAGE__->config( + 'Plugin::Authentication' => { default => { class => 'SimpleDB', user_model => 'DB::User', password_type => 'clear', }, - }; + }, + ); We could have placed this configuration in C, but placing it in C is probably a better place since it's not likely @@ -737,13 +739,15 @@ Edit C and update it to match the following text (the only change is to the C field): # Configure SimpleDB Authentication - __PACKAGE__->config->{'Plugin::Authentication'} = { + __PACKAGE__->config( + 'Plugin::Authentication' => { default => { class => 'SimpleDB', user_model => 'DB::User', password_type => 'self_check', }, - }; + }, + ); The use of C will cause Catalyst::Plugin::Authentication::Store::DBIC to call the