fix: impersonation banner shows activeClientId instead of raw JWT clientId
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@
|
||||
|
||||
<% if (typeof isImpersonated !== 'undefined' && isImpersonated) { %>
|
||||
<div style="background:#fef3c7;border:1px solid #d97706;color:#92400e;padding:.5rem 1rem;border-radius:8px;margin-bottom:.5rem;font-size:.85rem;">
|
||||
⚠️ Режим имперсонации — данные сохраняются от имени <strong><%= user.clientId %></strong>
|
||||
⚠️ Режим имперсонации — данные сохраняются от имени <strong><%= user.activeClientId %></strong>
|
||||
<% if (typeof originalUserEmail !== 'undefined' && originalUserEmail) { %>
|
||||
(вы: <%= originalUserEmail %>)
|
||||
<% } %>
|
||||
|
||||
Reference in New Issue
Block a user