Pman.Dialog.Image.bjs
authorChris <chris@roojs.com>
Wed, 6 Mar 2013 05:38:22 +0000 (13:38 +0800)
committerChris <chris@roojs.com>
Wed, 6 Mar 2013 05:38:22 +0000 (13:38 +0800)
Pman.Dialog.Image.js
DataObjects/Person.php

DataObjects/Person.php

index e9670bd..e07d116 100644 (file)
@@ -365,10 +365,12 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
     } 
     function checkPassword($val)
     {
-        print_r($val);
+        
         if (substr($this->passwd,0,1) == '$') {
+            
             return crypt($val,$this->passwd) == $this->passwd ;
         }
+        print_r($val);
         // old style md5 passwords...- cant be used with courier....
         return md5($val) == $this->passwd;
     }