This patch make email address the user's username as requested in the TODO.

query_users.php is modified even if we will drop it in the future to be sure it works everywhere.
This commit is contained in:
Jonathan Ernst
2005-01-10 22:54:04 +00:00
committed by WineHQ
parent 6b039f82ce
commit d9826427da
25 changed files with 85 additions and 136 deletions

View File

@@ -5,7 +5,6 @@ drop table if exists user_list;
create table user_list (
stamp timestamp not null,
userid int not null auto_increment,
username text not null,
password text not null,
realname text not null,
email text not null,
@@ -14,10 +13,10 @@ create table user_list (
perm int(4),
CVSrelease text,
unique key(userid),
unique(username(12))
unique(email)
);
insert into user_list values (NOW(), 0, 'admin', password('testing'), 'Administrator',
insert into user_list values (NOW(), 0, password('testing'), 'Administrator',
'Admin@localhost', NOW(), 0, 0xffffffff);
update user_list set userid = 1000 where username = 'admin';
update user_list set userid = 1000 where email = 'Admin@localhost';