Changeset 735 for trunk/lib/Auth_SQL.inc.php
- Timestamp:
- Oct 30, 2020 11:44:05 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Auth_SQL.inc.php
r706 r735 728 728 // Only raise message if last session is less than 12 hours old. 729 729 // 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__); 731 731 $user_notified = true; 732 732 } … … 740 740 $expire_reasons[] = sprintf('remote_ip not matched (%s != %s)', $_SESSION['_auth_sql'][$this->_ns]['remote_ip'], getRemoteAddr()); 741 741 // 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__); 743 743 $user_notified = true; 744 744 } else {
Note: See TracChangeset
for help on using the changeset viewer.