registration fix
This commit is contained in:
parent
b707f55250
commit
c925f19a96
|
@ -10,6 +10,7 @@ function load_auth() {
|
||||||
|
|
||||||
if ($_SESSION['IP'] != $_SERVER['REMOTE_ADDR']) {
|
if ($_SESSION['IP'] != $_SERVER['REMOTE_ADDR']) {
|
||||||
session_destroy();
|
session_destroy();
|
||||||
|
error("Your session has been destroyed because your ip-address changed.");
|
||||||
header("Location: " . page_link_to('start'));
|
header("Location: " . page_link_to('start'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue