summaryrefslogtreecommitdiff
path: root/access-restriction.php
diff options
context:
space:
mode:
Diffstat (limited to 'access-restriction.php')
-rw-r--r--access-restriction.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/access-restriction.php b/access-restriction.php
index 92049bc..35ff597 100644
--- a/access-restriction.php
+++ b/access-restriction.php
@@ -8,7 +8,7 @@ $pubKey = trim(fgets($keyFile));
fclose($keyFile);
function client_identifier() {
- return $_SERVER['SERVER_ADDR'] . " " . $_SERVER['REMOTE_ADDR'] . " " . $_SERVER['REMOTE_PORT'];
+ return $_SERVER['SERVER_ADDR'] . " " . $_SERVER['REMOTE_ADDR'] . " " . $_SERVER["FORWARDED_FOR"];
}
function zugriff_erlaubt() {