X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FAuthentication.pod;h=3a67fa73f513b2e3032287fb9d0066be15e2b7b0;hb=cc548726047214bd2b51a6b3a287896ac65b7b9b;hp=0b06b2b92a91e348f10c1633a328dc00d7a696cf;hpb=c09c6cd743a02ecebd5ad1277475baec2a8df400;p=catagits%2FCatalyst-Runtime.git diff --git a/lib/Catalyst/Manual/Tutorial/Authentication.pod b/lib/Catalyst/Manual/Tutorial/Authentication.pod index 0b06b2b..3a67fa7 100644 --- a/lib/Catalyst/Manual/Tutorial/Authentication.pod +++ b/lib/Catalyst/Manual/Tutorial/Authentication.pod @@ -695,6 +695,13 @@ dirty" way to do this: e727d1464ae12436e899a726da5b2f11d8381b26 $ +B You should probably modify this code for production use to +not read the password from the command line. By having the script +prompt for the cleartext password, it avoids having the password linger +in forms such as your C<.bash_history> files (assuming you are using +BASH as your shell). An example of such a script can be found in +Appendix 3. + =head2 Switch to SHA-1 Password Hashes in the Database