X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F05_Authentication.pod;h=1b6078f9c65a01068b9c152fef709fb5743e62e7;hb=388f66e0214312ffa77b48128d2fa2e1932b4669;hp=4a5c05e9be1587a1390cce8872b4af982e45c9d3;hpb=f9ce297698249b24617c5a60e7c625f2005be144;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod index 4a5c05e..1b6078f 100644 --- a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod +++ b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod @@ -312,7 +312,7 @@ following code: B Here is a short script that will dump the contents of -Cconfig> to L format in F: +C<< MyApp->config >> to L format in F: $ CATALYST_DEBUG=0 perl -Ilib -e 'use MyApp; use Config::General; Config::General->new->save_file("myapp.conf", MyApp->config);' @@ -606,7 +606,7 @@ We are just avoiding the I of cleartext passwords in the database by using a salted SHA-1 hash. If you are concerned about cleartext passwords between the browser and your application, consider using SSL/TLS, made easy with modules such as -L and L. +L and L. =head2 Re-Run the DBIC::Schema Model Helper to Include DBIx::Class::PassphraseColumn @@ -684,9 +684,9 @@ text: $user->update; } -PassphraseColumn lets us simply call C<$user->check_password($password)> +PassphraseColumn lets us simply call C<< $user->check_password($password) >> to see if the user has supplied the correct password, or, as we show -above, call C<$user->update($new_password)> to update the hashed +above, call C<< $user->update($new_password) >> to update the hashed password stored for this user. Then run the following command: @@ -802,8 +802,8 @@ 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 replace "|| -c.request.params.status_msg" with "c.flash.status_msg" in the +of the file intact -- the only change we made to replace "C<|| +c.request.params.status_msg>" with "C" in the C<< >> line.