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