X-Git-Url: https://git.adam-barratt.org.uk/?p=mirror%2Fuserdir-ldap-cgi.git;a=blobdiff_plain;f=update.cgi;h=13d847b1a984ac6d79803c7092508db4d1da72f8;hp=9f9b78ca557612b350e9f827696d1168100510d4;hb=e9a3d262aa18e6469b9372741210014f51b0c9a7;hpb=c1a1f0ea0c39ccc084f590bd25331c071f7849eb diff --git a/update.cgi b/update.cgi index 9f9b78c..13d847b 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(1)); + $newwebpassword = apache_md5_crypt($query->param('newwebpass'), &Util::CreateCryptSalt()); &Util::LDAPUpdate($ldap, $editdn, 'webPassword', $newwebpassword); }