Added TPR IP to be able to test

This commit is contained in:
Luca Haid
2025-08-05 12:02:19 +00:00
parent 07a947c1a8
commit ff5aedd4b4

View File

@@ -58,7 +58,7 @@ class TTCrud extends mfBaseController {
}
protected function loginOverride() {
$allowedIPs = ['193.105.204.200', '91.227.230.253', '193.105.204.195', '172.18.0.1'];
$allowedIPs = ['193.105.204.200', '91.227.230.253', '193.105.204.195', '172.18.0.1', '46.151.204.50'];
if (!in_array($_SERVER['REMOTE_ADDR'], $allowedIPs)) $this->redirect('Dashboard');
if (isset($_POST['wantedUserId']) && is_numeric($_POST['wantedUserId'])) {