Ignore:
Timestamp:
Oct 30, 2020 11:44:05 PM (4 years ago)
Author:
anonymous
Message:

Minor polish. Add getHttpHeader function

File:
1 edited

Legend:

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

    r706 r735  
    728728                    // Only raise message if last session is less than 12 hours old.
    729729                    // Notify user why they were logged out if they haven't yet been given a reason.
    730                     $user_notified || $app->raiseMsg(sprintf(_("For your security we logged you out after being idle for %s. Please log in again."), humanTime($this->_params['idle_timeout'], 'hour', '%01.0f')), MSG_NOTICE, __FILE__, __LINE__);
     730                    $user_notified || $app->raiseMsg(sprintf(_("For your security, we logged you out after being idle for %s. Please log in again."), humanTime($this->_params['idle_timeout'], 'hour', '%01.0f')), MSG_NOTICE, __FILE__, __LINE__);
    731731                    $user_notified = true;
    732732                }
     
    740740                    $expire_reasons[] = sprintf('remote_ip not matched (%s != %s)', $_SESSION['_auth_sql'][$this->_ns]['remote_ip'], getRemoteAddr());
    741741                    // Notify user why they were logged out if they haven't yet been given a reason.
    742                     $user_notified || $app->raiseMsg(sprintf(_("For your security we logged you out because your IP address has changed. Please log in again."), null), MSG_NOTICE, __FILE__, __LINE__);
     742                    $user_notified || $app->raiseMsg(sprintf(_("For your security, we logged you out because your IP address changed. Please log in again."), null), MSG_NOTICE, __FILE__, __LINE__);
    743743                    $user_notified = true;
    744744                } else {
Note: See TracChangeset for help on using the changeset viewer.