From c925f19a96fc2dcbb058acb91fc5d96ce877d8eb Mon Sep 17 00:00:00 2001 From: Philip Häusler Date: Tue, 27 Dec 2011 13:34:04 +0100 Subject: 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')); } -- cgit v1.2.3-70-g09d2