X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=blobdiff_plain;f=update.cgi;h=f1f82f9e81ae38e8d62fd6bfa6fdd3246fdbb654;hp=02d3a5b28b5cb63030937a5a14e28809bef11c4b;hb=f82558216b5676e2fcc8725b348e1c094b10f151;hpb=dce01ebc1c99705de3acd1638edf0b9301ddf8cb diff --git a/update.cgi b/update.cgi index 02d3a5b..f1f82f9 100755 --- 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(2)); + $newwebpassword = apache_md5_crypt($query->param('newwebpass'), &Util::CreateCryptSalt(1, 1)); &Util::LDAPUpdate($ldap, $editdn, 'webPassword', $newwebpassword); }