summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-12-27 13:34:04 +0100
committerPhilip Häusler <msquare@notrademark.de>2011-12-27 13:34:04 +0100
commitc925f19a96fc2dcbb058acb91fc5d96ce877d8eb (patch)
tree8cf50113d513d4f824816237af827122f5ccd924 /includes
parentb707f552507fdf311749f61a09551581209971a0 (diff)
registration fix
Diffstat (limited to 'includes')
-rw-r--r--includes/sys_auth.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/sys_auth.php b/includes/sys_auth.php
index d33fdf31..e1869029 100644
--- a/includes/sys_auth.php
+++ b/includes/sys_auth.php
@@ -10,6 +10,7 @@ function load_auth() {
if ($_SESSION['IP'] != $_SERVER['REMOTE_ADDR']) {
session_destroy();
+ error("Your session has been destroyed because your ip-address changed.");
header("Location: " . page_link_to('start'));
}