diff --git a/database/schema.sql b/database/schema.sql index 6e1563d..025bff4 100644 --- a/database/schema.sql +++ b/database/schema.sql @@ -78,9 +78,9 @@ CREATE TABLE IF NOT EXISTS list_members ( -- Insert sample data -- Create default admin user (password: 'password') --- $2b$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxMQJqhN8/LewKv0AhDoLlZ7G.i is bcrypt hash of 'password' +-- Hash generated with passlib CryptContext using bcrypt INSERT INTO users (username, password_hash, role) VALUES - ('admin', '$2b$12$LQv3c1yqBWVHxkd0LHAkCOYz6TtxMQJqhN8/LewKv0AhDoLlZ7G.i', 'administrator'); + ('admin', '$2b$12$6Lsp/i.clxyEE9O/4D9RLOfyFlxfjvJBhJ8VXT/t4H/QvrnKrE/YK', 'administrator'); INSERT INTO lists (list_name, list_email, description) VALUES ('Community', 'community@lists.sasalliance.org', 'General community announcements'),