v0.5.125: switchTo без редиректа, дебаг на странице
This commit is contained in:
@@ -139,6 +139,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% if (typeof switchDebug !== 'undefined' && switchDebug) { %>
|
||||
<div style="background:#fff3cd;border:2px solid #d97706;color:#92400e;padding:.5rem 1rem;border-radius:8px;margin-bottom:.5rem;font-size:.85rem;">
|
||||
<strong>DEBUG SWITCH:</strong> <%= switchDebug.from %> → <%= switchDebug.to %>
|
||||
| sessionID: <%= switchDebug.sessionID %>
|
||||
| activeClientId: <%= activeClientId %>
|
||||
</div>
|
||||
<% } %>
|
||||
|
||||
<% if (user.isImpersonated) { %>
|
||||
<div class="alert alert-warn">
|
||||
⚠️ Режим имперсонации — данные сохраняются от имени <strong><%= activeClientId %></strong>
|
||||
|
||||
Reference in New Issue
Block a user