From ed58df38d8f1d483e6051060b58be27059195d69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 15 Jun 2026 09:57:35 +0400 Subject: [PATCH] =?UTF-8?q?v0.6.3:=20=D1=83=D0=B1=D1=80=D0=B0=D0=BB=20(?= =?UTF-8?q?=D0=B8=D0=BC=D0=BF=D0=B5=D1=80=D1=81=D0=BE=D0=BD=D0=B0=D1=86?= =?UTF-8?q?=D0=B8=D1=8F)=20=D1=83=20email,=20=D0=B6=D1=91=D0=BB=D1=82?= =?UTF-8?q?=D1=8B=D0=B9=20=D0=B1=D0=B0=D0=BD=D0=BD=D0=B5=D1=80=20=D1=81?= =?UTF-8?q?=D0=B2=D0=B5=D1=80=D1=85=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- v2/src/config/index.js | 2 +- views/v2/user.ejs | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 650541e..858bcab 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ipwhitelist", - "version": "0.6.2", + "version": "0.6.3", "description": "IP WhiteList microservice for cloud provider", "main": "server.js", "scripts": { diff --git a/v2/src/config/index.js b/v2/src/config/index.js index cd3969a..f9fcbbd 100644 --- a/v2/src/config/index.js +++ b/v2/src/config/index.js @@ -9,7 +9,7 @@ // ═══════════════════════════════════════════════════════════════════════════════ module.exports = { - version: '0.6.2', + version: '0.6.3', // ── IAM ────────────────────────────────────────────────────────────────── iamUrl: process.env.V2_IAM_URL || 'https://auth-api.ngcloud.ru/api/v1/auth/user', diff --git a/views/v2/user.ejs b/views/v2/user.ejs index bbbd028..4c34b07 100644 --- a/views/v2/user.ejs +++ b/views/v2/user.ejs @@ -78,10 +78,12 @@ <% if (typeof isImpersonated !== 'undefined' && isImpersonated) { %> + <% if (isImpersonated) { %>
- ⚠️ Режим имперсонации — данные от имени <%= activeClientId %> + ⚠️ Режим имперсонации — данные сохраняются от имени <%= activeClientId %> (вы: <%= loginEmail %>)
+ <% } %> <% } %> @@ -100,7 +102,6 @@
<%= used %>
из <%= limit %>
<%= email %> - <% if (isImpersonated) { %>(имперсонация)<% } %>