mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-05-25 08:52:01 +00:00
Set SOGo related hosts from env var
This commit is contained in:
@@ -67,7 +67,7 @@ require_once 'functions.ratelimit.inc.php';
|
||||
require_once 'functions.acl.inc.php';
|
||||
|
||||
|
||||
$isSOGoRequest = $post['real_rip'] == getenv('IPV4_NETWORK') . '.248';
|
||||
$isSOGoRequest = $post['real_rip'] == getenv('SOGO_HOST');
|
||||
$result = false;
|
||||
if ($isSOGoRequest) {
|
||||
// This is a SOGo Auth request. First check for SSO password.
|
||||
|
||||
Reference in New Issue
Block a user