From: <ane...@us...> - 2003-12-31 13:04:44
|
Update of /cvsroot/tikiwiki/tiki/lib In directory sc8-pr-cvs1:/tmp/cvs-serv14477/lib Modified Files: Tag: BRANCH-1-8 userslib.php Log Message: fixed a bug where the lastLogin wasn't updated when using Pear::Auth (LDAP) and no passwords are in Tiki DB Index: userslib.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/lib/userslib.php,v retrieving revision 1.77.2.3 retrieving revision 1.77.2.4 diff -u -d -r1.77.2.3 -r1.77.2.4 --- userslib.php 22 Dec 2003 12:18:51 -0000 1.77.2.3 +++ userslib.php 31 Dec 2003 13:04:41 -0000 1.77.2.4 @@ -333,7 +333,7 @@ } // if the user was logged into Auth and found in Tiki (no password in Tiki user table necessary) elseif ($userAuth && $userTikiPresent) - return true; + return $this->update_lastlogin($user); } // we will never get here @@ -386,7 +386,6 @@ // validate the user in the Tiki database function validate_user_tiki($user, $pass, $challenge, $response) { - // If the user is loggin in the the lastLogin should be the last currentLogin? global $feature_challenge; // first verify that the user exists |