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:
8bb5877
)
fix code
author
Martin Zobel-Helas
<zobel@debian.org>
Thu, 8 Mar 2012 22:59:29 +0000
(23:59 +0100)
committer
Martin Zobel-Helas
<zobel@debian.org>
Thu, 8 Mar 2012 22:59:29 +0000
(23:59 +0100)
update.cgi
patch
|
blob
|
history
diff --git
a/update.cgi
b/update.cgi
index
f0ff1ac
..
4db9464
100755
(executable)
--- a/
update.cgi
+++ b/
update.cgi
@@
-248,7
+248,7
@@
if (!($query->param('doupdate'))) {
}
# create a md5 crypted password
- $newwebpassword =
'{crypt}'.
crypt($query->param('newwebpass'), &Util::CreateCryptSalt(1));
+ $newwebpassword = crypt($query->param('newwebpass'), &Util::CreateCryptSalt(1));
&Util::LDAPUpdate($ldap, $editdn, 'webPassword', $newwebpassword);
}