v0.1.7: аудит — время Москвы вместо UTC
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "ipwhitelist",
|
"name": "ipwhitelist",
|
||||||
"version": "0.1.6",
|
"version": "0.1.7",
|
||||||
"description": "IP WhiteList microservice for cloud provider",
|
"description": "IP WhiteList microservice for cloud provider",
|
||||||
"main": "server.js",
|
"main": "server.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
// ═══════════════════════════════════════════════════════════════════════════════
|
// ═══════════════════════════════════════════════════════════════════════════════
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
version: '0.1.6',
|
version: '0.1.7',
|
||||||
|
|
||||||
// ── IAM ──────────────────────────────────────────────────────────────────
|
// ── IAM ──────────────────────────────────────────────────────────────────
|
||||||
iamUrl: process.env.V2_IAM_URL || 'https://auth-api.ngcloud.ru/api/v1/auth/user',
|
iamUrl: process.env.V2_IAM_URL || 'https://auth-api.ngcloud.ru/api/v1/auth/user',
|
||||||
|
|||||||
@@ -92,7 +92,7 @@
|
|||||||
<tbody>
|
<tbody>
|
||||||
<% audit.forEach(function(a) { %>
|
<% audit.forEach(function(a) { %>
|
||||||
<tr>
|
<tr>
|
||||||
<td><%= new Date(a.created_at).toLocaleString('ru') %></td>
|
<td><%= new Date(a.created_at).toLocaleString('ru-RU', { timeZone: 'Europe/Moscow' }) %></td>
|
||||||
<td><strong><%= a.action %></strong></td>
|
<td><strong><%= a.action %></strong></td>
|
||||||
<td><%= a.user_email %></td>
|
<td><%= a.user_email %></td>
|
||||||
<td><%= a.impersonated_by || '—' %></td>
|
<td><%= a.impersonated_by || '—' %></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user