Changeset 277 for trunk


Ignore:
Timestamp:
Jul 19, 2007 9:11:03 PM (17 years ago)
Author:
quinn
Message:

Fixed issue with user remote_ip matching

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Auth_SQL.inc.php

    r276 r277  
    539539            $remote_ip_is_matched = (isset($_SESSION['_auth_sql'][$this->_ns]['remote_ip']) && $_SESSION['_auth_sql'][$this->_ns]['remote_ip'] == getRemoteAddr()) || $user_in_trusted_network;
    540540        } else {
    541             $app->logMsg(sprintf('User %s exempt from remote_ip match.',
    542                 ($this->get('user_id') ? ' ' . $this->get('user_id') . ' (' .  $this->get('username') . ')' : '')
     541            $app->logMsg(sprintf('User %s exempt from remote_ip match (comparing %s == %s)',
     542                ($this->get('user_id') ? ' ' . $this->get('user_id') . ' (' .  $this->get('username') . ')' : ''),
     543                $_SESSION['_auth_sql'][$this->_ns]['remote_ip'],
     544                getRemoteAddr()
    543545            ), LOG_DEBUG, __FILE__, __LINE__);
    544546            $remote_ip_is_matched = true;
Note: See TracChangeset for help on using the changeset viewer.