projects
/
mirror
/
userdir-ldap-cgi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1a1f0e
)
fix web password generation
author
Martin Zobel-Helas
<zobel@debian.org>
Fri, 9 Mar 2012 11:32:46 +0000
(12:32 +0100)
committer
Martin Zobel-Helas
<zobel@debian.org>
Fri, 9 Mar 2012 11:32:46 +0000
(12:32 +0100)
Signed-off-by: Martin Zobel-Helas <zobel@debian.org>
update.cgi
patch
|
blob
|
history
diff --git
a/update.cgi
b/update.cgi
index
9f9b78c
..
13d847b
100755
(executable)
--- a/
update.cgi
+++ b/
update.cgi
@@
-249,7
+249,7
@@
if (!($query->param('doupdate'))) {
}
# create a md5 crypted password
- $newwebpassword = apache_md5_crypt($query->param('newwebpass'), &Util::CreateCryptSalt(
1
));
+ $newwebpassword = apache_md5_crypt($query->param('newwebpass'), &Util::CreateCryptSalt());
&Util::LDAPUpdate($ldap, $editdn, 'webPassword', $newwebpassword);
}