Changeset 706 for trunk/lib/Auth_SQL.inc.php
- Timestamp:
- Oct 27, 2019 12:22:59 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Auth_SQL.inc.php
r692 r706 705 705 if (mysql_affected_rows($db->getDBH()) > 0) { 706 706 // User record still exists in DB. Do this to ensure user was not delete from DB between accesses. Notice "+ 1" in SQL above to ensure record is modified. 707 $app->logMsg(sprintf('Session authenticated for user_id %s (%s).', $this->get('user_id'), $this->get('username')), LOG_DEBUG, __FILE__, __LINE__); 708 // TODO: This auth check doesn't match parity when calling isLoggedIn($user_id) with a user_id, because the latter checks last_login_datetime in DB, and the former only checks SESSION. These two can be out-of-sync after loading DB via sdbdown. 707 709 return true; 708 710 } else {
Note: See TracChangeset
for help on using the changeset viewer.