Changeset 224 for trunk/lib/Auth_SQL.inc.php
- Timestamp:
- Jan 9, 2007 12:47:08 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Auth_SQL.inc.php
r203 r224 529 529 530 530 // Test login with information stored in session. Skip IP matching for users from trusted networks. 531 if (isset($_SESSION['_auth_sql'][$this->_ns] )531 if (isset($_SESSION['_auth_sql'][$this->_ns]['authenticated']) 532 532 && true === $_SESSION['_auth_sql'][$this->_ns]['authenticated'] 533 533 && !empty($_SESSION['_auth_sql'][$this->_ns]['username']) … … 552 552 $app->logMsg(sprintf('User update failed. Record not found for user %s (%s).', $this->get('user_id'), $this->get('username')), LOG_NOTICE, __FILE__, __LINE__); 553 553 } 554 } else if (isset($_SESSION['_auth_sql'][$this->_ns] ) && true === $_SESSION['_auth_sql'][$this->_ns]['authenticated']) {554 } else if (isset($_SESSION['_auth_sql'][$this->_ns]['authenticated']) && true === $_SESSION['_auth_sql'][$this->_ns]['authenticated']) { 555 555 // User is authenticated, but login has expired. 556 556 if (strtotime($_SESSION['_auth_sql'][$this->_ns]['last_access_datetime']) > time() - 43200) {
Note: See TracChangeset
for help on using the changeset viewer.