summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-03-27 17:23:50 +0100
committerAndrew Dolgov <[email protected]>2006-03-27 17:23:50 +0100
commita2e9b4575926fe6a92d2b9976195d42618deeb55 (patch)
treedfd3499b44b8041b9ce02ee5c27ff2bac39db2f9 /functions.php
parent657770a09c382b5ca86d147767a72f263c79e1df (diff)
obsolete ip_address field in ttrss_sessions
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 7415f63e9..825b19831 100644
--- a/functions.php
+++ b/functions.php
@@ -873,7 +873,7 @@
}
function validate_session($link) {
- if (SESSION_CHECK_ADDRESS && !DATABASE_BACKED_SESSIONS && $_SESSION["uid"]) {
+ if (SESSION_CHECK_ADDRESS && $_SESSION["uid"]) {
if ($_SESSION["ip_address"]) {
if ($_SESSION["ip_address"] != $_SERVER["REMOTE_ADDR"]) {
return false;