refactor: remove source host allowlist from direct login
This commit is contained in:
@@ -14,7 +14,6 @@ return static function (): void {
|
||||
Http::errorPage('Metoda logowania nie jest obsługiwana.', 500);
|
||||
}
|
||||
$ctx = DirectAdminContext::fromServer($_SERVER, $settings);
|
||||
SourceAuthorizer::assertAllowed($ctx->sourceHost(), $settings);
|
||||
|
||||
$auditBase = [
|
||||
'request_id' => bin2hex(random_bytes(8)),
|
||||
|
||||
Reference in New Issue
Block a user