diff options
Diffstat (limited to 'includes')
-rw-r--r-- | includes/sys_auth.php | 1 |
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')); } |