[Vtigercrm-commits] [vtiger-commits] r3987 - /vtigercrm/trunk/modules/Users/Forms.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Tue Feb 28 04:16:02 EST 2006


Author: saraj
Date: Tue Feb 28 02:15:55 2006
New Revision: 3987

Log:
password and new password validation added

Modified:
    vtigercrm/trunk/modules/Users/Forms.php

Modified: vtigercrm/trunk/modules/Users/Forms.php
==============================================================================
--- vtigercrm/trunk/modules/Users/Forms.php (original)
+++ vtigercrm/trunk/modules/Users/Forms.php Tue Feb 28 02:15:55 2006
@@ -92,7 +92,11 @@
 		alert('"' + form.email2.value + '" $err_invalid_email_address');
 		return false;
 	}
-
+   	if(trim(form.new_password.value) != trim(form.confirm_new_password.value))
+    	{
+	        alert("The password does't match");
+	        return false;
+	}
 	return true;
 }
 





More information about the vtigercrm-commits mailing list