Clarify USAGE for md5 passwords.
authorJoey Schulze <joey@infodrom.org>
Wed, 14 May 2008 08:50:32 +0000 (08:50 +0000)
committerJoey Schulze <joey@infodrom.org>
Wed, 14 May 2008 08:50:32 +0000 (08:50 +0000)
USAGE

diff --git a/USAGE b/USAGE
index d83db0a..c891555 100644 (file)
--- a/USAGE
+++ b/USAGE
@@ -18,7 +18,10 @@ create table mysql_auth (
        primary key (username)
 );
 
-This would work quite well.
+This would work quite well.  Remember that the passwd field needs to be long
+enough to store the entire password string -- for example, if you are using
+MD5 passwords, passwd needs to be 32 characters long, and if you are using
+SHA1 it must be 40 characters long.
 
 NOTE 1: You don't have to use a new table for the purpose of storing
 usernames and passwords; I quite happily use a 'members' table (with all