diff options
author | root <root@debian.(none)> | 2012-06-01 03:10:57 -0400 |
---|---|---|
committer | root <root@debian.(none)> | 2012-06-01 03:10:57 -0400 |
commit | bad66a1154b3ef6ba639038218317f7ac5bf43d7 (patch) | |
tree | a03244a0005d732412fcfe6a1c8eb5734fcf6b78 /include/auth.php | |
parent | 88d5d9684a51119f62a60c588b2bf468f71fd884 (diff) | |
parent | 93bc29a711637c84a4ffc380078277de89af4e6d (diff) | |
download | volse-hubzilla-bad66a1154b3ef6ba639038218317f7ac5bf43d7.tar.gz volse-hubzilla-bad66a1154b3ef6ba639038218317f7ac5bf43d7.tar.bz2 volse-hubzilla-bad66a1154b3ef6ba639038218317f7ac5bf43d7.zip |
Merge remote branch 'friendica/master'
Diffstat (limited to 'include/auth.php')
-rw-r--r-- | include/auth.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/auth.php b/include/auth.php index b87662fea..cba6a67a7 100644 --- a/include/auth.php +++ b/include/auth.php @@ -53,6 +53,8 @@ if((isset($_SESSION)) && (x($_SESSION,'authenticated')) && ((! (x($_POST,'auth-p $check = get_config('system','paranoia'); // extra paranoia - if the IP changed, log them out if($check && ($_SESSION['addr'] != $_SERVER['REMOTE_ADDR'])) { + logger('Session address changed. Paranoid setting in effect, blocking session. ' + . $_SESSION['addr'] . ' != ' . $_SERVER['REMOTE_ADDR']); nuke_session(); goaway(z_root()); } |