Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
1c9be435
Commit
1c9be435
authored
Mar 15, 2012
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fix.
parent
a67840b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
db/User.pm.in
db/User.pm.in
+2
-1
No files found.
db/User.pm.in
View file @
1c9be435
...
...
@@ -1251,6 +1251,7 @@ sub SSLPassPhrase($$$)
sub
SetPassword
($$$)
{
my
($
self
,
$
encoding
,
$
expires
)
=
@
_
;
my
$
safe_encoding
=
DBQuoteSpecial
($
encoding
);
#
Must
be
a
real
reference
.
return
-
1
...
...
@@ -1261,7 +1262,7 @@ sub SetPassword($$$)
#
Clear
the
chpasswd
stuff
anytime
passwd
is
set
.
return
-
1
if
(
! DBQueryWarn("update users set ".
" usr_pswd=
'$encoding'
, pswd_expires=$expires, "
.
" usr_pswd=
$safe_encoding
, pswd_expires=$expires, "
.
" chpasswd_key=NULL,chpasswd_expires=0 "
.
"where uid_idx='$uid_idx'"
));
...
...
Write
Preview
Markdown
is supported
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