From e9a3d262aa18e6469b9372741210014f51b0c9a7 Mon Sep 17 00:00:00 2001 From: Martin Zobel-Helas Date: Fri, 9 Mar 2012 12:32:46 +0100 Subject: [PATCH] fix web password generation Signed-off-by: Martin Zobel-Helas --- update.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.20.1