From 8181a3b8421aa820a4ee5513ccfa65f9b7041356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Tue, 16 Jun 2026 06:00:35 +0400 Subject: [PATCH] =?UTF-8?q?v0.5.143:=20IMP=5FALLOWED=20=D0=B2=D0=BC=D0=B5?= =?UTF-8?q?=D1=81=D1=82=D0=BE=20IMPERSONATION=5FALLOWED=5FUSERS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- v2/src/impersonation/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 06a3576..4e79e48 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ipwhitelist", - "version": "0.5.142", + "version": "0.5.143", "description": "IP WhiteList microservice for cloud provider", "main": "server.js", "scripts": { diff --git a/v2/src/impersonation/index.js b/v2/src/impersonation/index.js index c5474e9..e29fb8a 100644 --- a/v2/src/impersonation/index.js +++ b/v2/src/impersonation/index.js @@ -11,11 +11,11 @@ // Полная подмена сессии: email, clientId, profiles — всё от таргета. // // ENV: -// IMPERSONATION_ALLOWED_USERS — emails через запятую (кому можно) +// IMP_ALLOWED — emails через запятую (кому можно) // ═══════════════════════════════════════════════════════════════════════════════ const ALLOWED_USERS = new Set( - (process.env.IMPERSONATION_ALLOWED_USERS || '') + (process.env.IMP_ALLOWED || '') .split(',').map(s => s.trim()).filter(Boolean) );