Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
443834cf
Commit
443834cf
authored
Dec 09, 2003
by
Leigh B. Stoller
Browse files
Add fields to support user directed Forgot My Password changes.
parent
60f8bbb8
Changes
2
Hide whitespace changes
Inline
Side-by-side
sql/database-create.sql
View file @
443834cf
...
...
@@ -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
)
...
...
sql/database-migrate.txt
View file @
443834cf
...
...
@@ -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';
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment