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) );