X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F05_Authentication.pod;fp=lib%2FCatalyst%2FManual%2FTutorial%2F05_Authentication.pod;h=e5fe26025178f4ee0bce91dd6f551bae44170304;hp=4a5c05e9be1587a1390cce8872b4af982e45c9d3;hb=08c0026dc8cd9b6f157e952b143ad329e68dbbe2;hpb=6f660c96dfb8eea0b0790d635d8e2afa7fa42947 diff --git a/lib/Catalyst/Manual/Tutorial/05_Authentication.pod b/lib/Catalyst/Manual/Tutorial/05_Authentication.pod index 4a5c05e..e5fe260 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);' @@ -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: