Changeset 223
- Timestamp:
- Jan 9, 2007 12:44:18 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/2.0.2/lib/Auth_SQL.inc.php
r126 r223 503 503 // Test login with information stored in session. Skip IP matching for users from trusted networks. 504 504 if (isset($_SESSION[$this->_sess]) 505 && true === $_SESSION[$this->_sess]['authenticated']505 && isset($_SESSION[$this->_sess]['authenticated']) && true === $_SESSION[$this->_sess]['authenticated'] 506 506 && !empty($_SESSION[$this->_sess]['username']) 507 507 && strtotime($_SESSION[$this->_sess]['login_datetime']) > time() - $this->_params['login_timeout'] … … 525 525 App::logMsg(sprintf('User update failed. Record not found for %s %s (%s).', $this->_auth, $this->getVal('user_id'), $this->getVal('username')), LOG_NOTICE, __FILE__, __LINE__); 526 526 } 527 } else if (isset($_SESSION[$this->_sess] ) && true === $_SESSION[$this->_sess]['authenticated']) {527 } else if (isset($_SESSION[$this->_sess]['authenticated']) && true === $_SESSION[$this->_sess]['authenticated']) { 528 528 // User is authenticated, but login has expired. 529 529 if (strtotime($_SESSION[$this->_sess]['last_access_datetime']) > time() - 43200) {
Note: See TracChangeset
for help on using the changeset viewer.