steffen: server/kolab-webadmin/kolab-webadmin/www/admin/user user.php, 1.70, 1.71

cvs at intevation.de cvs at intevation.de
Tue Nov 29 02:51:08 CET 2005


Author: steffen

Update of /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/user
In directory doto:/tmp/cvs-serv24842/kolab-webadmin/kolab-webadmin/www/admin/user

Modified Files:
	user.php 
Log Message:
Dont use kolabEncryptedPassword, use calendar-user only. encryption stuff disabled for now. I dont think it something we even want to support if we are not using it

Index: user.php
===================================================================
RCS file: /kolabrepository/server/kolab-webadmin/kolab-webadmin/www/admin/user/user.php,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -d -r1.70 -r1.71
--- user.php	13 Oct 2005 12:16:55 -0000	1.70
+++ user.php	29 Nov 2005 01:51:06 -0000	1.71
@@ -477,7 +477,13 @@
 		   // We are editing our own password, let's update the session!
 		   $auth->setPassword($_POST['password_0']);
 		 }
-		 if( isset( $_POST['accttype'] ) && $_POST['accttype'] > 1 ) {
+
+		 /* The code below is disabled for now because we're
+			not going to use that encrypted password anyway.
+			
+			TODO: Clean it up once we're sure we don't want it
+		 */
+		 if( false && isset( $_POST['accttype'] ) && $_POST['accttype'] > 1 ) {
 		   // We have a group or resource, create encrypted pw
 		   $pubkeydata=file_get_contents("$kolab_prefix/etc/kolab/res_pub.pem" );		   
 		   $pkey = openssl_pkey_get_public( $pubkeydata );





More information about the commits mailing list