From c73acb993acfc08f542b886eb426d6156a6a0a13 Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Fri, 8 Apr 2011 20:09:13 -0400 Subject: add_member() - As the most common interface for adding new members (and users), adapt the password storing bit to storing only encrypted passwords in the database. schema.cfg: - Remove the creator_pw_file and site_pw_file as they are obsolete. - Add password_schema key for defining the default password encryption scheme. mailman.sql, user.py: - Store the password as a binary blob instead of as unicode text. --- src/mailman/database/mailman.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mailman/database') diff --git a/src/mailman/database/mailman.sql b/src/mailman/database/mailman.sql index 7d67dea05..7c09fb79f 100644 --- a/src/mailman/database/mailman.sql +++ b/src/mailman/database/mailman.sql @@ -251,7 +251,7 @@ CREATE TABLE preferences ( CREATE TABLE user ( id INTEGER NOT NULL, real_name TEXT, - password TEXT, + password BINARY, _user_id TEXT, _created_on TIMESTAMP, preferences_id INTEGER, -- cgit v1.2.3-70-g09d2