DataObjects/Person.php
authorAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 08:44:43 +0000 (16:44 +0800)
committerAlan Knowles <alan@akbkhome.com>
Wed, 23 Jun 2010 08:44:43 +0000 (16:44 +0800)
DataObjects/Person.php

index 1e83b3c..7972f5b 100644 (file)
@@ -262,6 +262,12 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
     {
         return $this->active;
     }
+    function authUserName($n) // set username prior to acheck user exists query.
+    {
+        
+        $this->whereAdd('LENGTH(passwd) > 1'); 
+        $this->email = $n
+    }
     
     function authUserArray()
     {