Skip to content
GitLab
Menu
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
4ab131e4
Commit
4ab131e4
authored
Dec 14, 2014
by
Leigh B Stoller
Browse files
Set pswd_expires=null for nonlocal users so that we never consider
it expired.
parent
cfb1127f
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/User.pm.in
View file @
4ab131e4
...
...
@@ -581,7 +581,8 @@ sub Create($$$$)
return
undef
;
}
push
(@
insert_data
,
"status='$USERSTATUS_ACTIVE'"
);
push
(@
insert_data
,
"pswd_expires=now()"
);
#
No
expiration
,
cause
no
passwords
.
push
(@
insert_data
,
"pswd_expires=null"
);
push
(@
insert_data
,
"usr_pswd='*'"
);
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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