[pLog-svn] r2821 - plog/trunk/class/dao

mark at devel.lifetype.net mark at devel.lifetype.net
Thu Jan 19 15:56:47 GMT 2006


Author: mark
Date: 2006-01-19 15:56:46 +0000 (Thu, 19 Jan 2006)
New Revision: 2821

Modified:
   plog/trunk/class/dao/userinfo.class.php
Log:
Fix addUser(), now user can login after register in summary page, we don't need to clean the cache again.

it is because we assign the password to userInfo directly instead of use setPassword.

Modified: plog/trunk/class/dao/userinfo.class.php
===================================================================
--- plog/trunk/class/dao/userinfo.class.php	2006-01-19 15:28:13 UTC (rev 2820)
+++ plog/trunk/class/dao/userinfo.class.php	2006-01-19 15:56:46 UTC (rev 2821)
@@ -28,7 +28,7 @@
 			$this->DbObject();
 
 			$this->setUsername( $username );
-			$this->_password = $password;
+			$this->setPassword( $password );
 			$this->_id = $id;
 			$this->_aboutmyself = $aboutMyself;
 			$this->_email = $email;



More information about the pLog-svn mailing list