Commit 443834cf authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add fields to support user directed Forgot My Password changes.

parent 60f8bbb8
......@@ -1443,6 +1443,8 @@ CREATE TABLE users (
weblogin_failstamp int(10) unsigned NOT NULL default '0',
plab_user tinyint(1) NOT NULL default '0',
user_interface enum('emulab','plab') NOT NULL default 'emulab',
chpasswd_key varchar(32) default NULL,
chpasswd_expires int(10) unsigned NOT NULL default '0',
PRIMARY KEY (uid),
KEY unix_uid (unix_uid),
KEY status (status)
......
......@@ -1120,3 +1120,9 @@ last_net_act,last_cpu_act,last_ext_act);
alter table users add user_interface \
enum('emulab','plab') NOT NULL default 'emulab';
1.206: Add fields to support user directed Forgot My Password changes.
alter table users add chpasswd_key varchar(32) default NULL;
alter table users add chpasswd_expires int(10) unsigned \
NOT NULL default '0';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment