fix code
authorMartin Zobel-Helas <zobel@debian.org>
Thu, 8 Mar 2012 22:59:29 +0000 (23:59 +0100)
committerMartin Zobel-Helas <zobel@debian.org>
Thu, 8 Mar 2012 22:59:29 +0000 (23:59 +0100)
update.cgi

index f0ff1ac..4db9464 100755 (executable)
@@ -248,7 +248,7 @@ if (!($query->param('doupdate'))) {
     }
 
     # create a md5 crypted password
     }
 
     # 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);
   }  
     
     &Util::LDAPUpdate($ldap, $editdn, 'webPassword', $newwebpassword);
   }