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) { %>