From: Kennedy Clark Date: Thu, 28 May 2009 03:34:26 +0000 (+0000) Subject: RT#46159 - Fix typo (thanks to brunobuss) X-Git-Tag: v5.8005~128 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=commitdiff_plain;h=cc0ef55e7569cf9746bdeaaebbc0b72ddcd97467 RT#46159 - Fix typo (thanks to brunobuss) --- diff --git a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod index 17bfa49..5628b19 100644 --- a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod +++ b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod @@ -754,10 +754,14 @@ C directory for our C model. The DBIC_TRACE output should show that the update worked: $ DBIC_TRACE=1 perl -Ilib set_hashed_passwords.pl - SELECT me.id, me.username, me.password, me.email_address, me.first_name, me.last_name, me.active FROM user me: - UPDATE user SET password = ? WHERE ( id = ? ): 'oXiyAcGOjowz7ISUhpIm1IrS8AxSZ9r4jNjpX9VnVeQmN6GRtRKTz', '1' - UPDATE user SET password = ? WHERE ( id = ? ): 'PmyEPrkB8EGwvaF/DvJm7LIfxoZARjv8ygFIR7pc1gEA1OfwHGNzs', '2' - UPDATE user SET password = ? WHERE ( id = ? ): 'h7CS1Fm9UCs4hjcbu2im0HumaHCJUq4Uriac+SQgdUMUfFSoOrz3c', '3' + SELECT me.id, me.username, me.password, me.email_address, + me.first_name, me.last_name, me.active FROM user me: + UPDATE user SET password = ? WHERE ( id = ? ): + 'oXiyAcGOjowz7ISUhpIm1IrS8AxSZ9r4jNjpX9VnVeQmN6GRtRKTz', '1' + UPDATE user SET password = ? WHERE ( id = ? ): + 'PmyEPrkB8EGwvaF/DvJm7LIfxoZARjv8ygFIR7pc1gEA1OfwHGNzs', '2' + UPDATE user SET password = ? WHERE ( id = ? ): + 'h7CS1Fm9UCs4hjcbu2im0HumaHCJUq4Uriac+SQgdUMUfFSoOrz3c', '3' But we can further confirm our actions by dumping the users table: @@ -774,8 +778,8 @@ situations. =head2 Enable Hashed and Salted Passwords -Edit C and update it to match the following text (the only change -is to the C field): +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'} = { @@ -853,9 +857,9 @@ flash vs. the C query parameter: ... Although the sample above only shows the C div, leave the -rest of the file intact -- the only change we made to the C -was to add "C<|| c.request.params.status_msg>" to the -Cspan class="message"E> line. +rest of the file intact -- the only change we made to replace +"|| c.request.params.status_msg" with "c.flash.status_msg" in the +C<< >> line. =head2 Try Out Flash