registration fix

This commit is contained in:
Philip Häusler 2011-12-27 13:34:04 +01:00
parent b707f55250
commit c925f19a96
1 changed files with 1 additions and 0 deletions

View File

@ -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'));
}