[pLog-svn] r3085 - plog/trunk/class/action/admin

reto at devel.lifetype.net reto at devel.lifetype.net
Sun Mar 19 15:10:55 GMT 2006


Author: reto
Date: 2006-03-19 15:10:54 +0000 (Sun, 19 Mar 2006)
New Revision: 3085

Modified:
   plog/trunk/class/action/admin/adminloginaction.class.php
Log:
AdminLoginAction used the depricated getUserInfo instead of getUserInfoFromUsername. this resulted in a redundant execution of authenticateUser. which in turn made it hard to sync userdata from outside LifeType. 

Modified: plog/trunk/class/action/admin/adminloginaction.class.php
===================================================================
--- plog/trunk/class/action/admin/adminloginaction.class.php	2006-03-18 14:50:46 UTC (rev 3084)
+++ plog/trunk/class/action/admin/adminloginaction.class.php	2006-03-19 15:10:54 UTC (rev 3085)
@@ -72,7 +72,7 @@
             }
 			
             // if the user is correct, get and put his or her information in the session
-            $userInfo = $users->getUserInfo( $this->_userName, $this->_userPassword );
+            $userInfo = $users->getUserInfoFromUsername( $this->_userName );
 			
 			if( !$userInfo ) {
             	$this->_view = new AdminDefaultView();



More information about the pLog-svn mailing list