From c925f19a96fc2dcbb058acb91fc5d96ce877d8eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20H=C3=A4usler?= Date: Tue, 27 Dec 2011 13:34:04 +0100 Subject: [PATCH] registration fix --- includes/sys_auth.php | 1 + 1 file changed, 1 insertion(+) 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')); }