ui: убрать вход по Bearer токену, добавить ручной ввод clientId (отладка)
This commit is contained in:
+5
-5
@@ -84,15 +84,15 @@
|
||||
<hr>
|
||||
<% } %>
|
||||
|
||||
<%# ── Блок вставки Bearer токена (всегда виден) ── %>
|
||||
<p class="section-title">Войти с Bearer токеном</p>
|
||||
<%# ── Блок ручного ввода clientId (отладка) ── %>
|
||||
<p class="section-title">Ручной вход (clientId)</p>
|
||||
<form method="POST" action="/login-token">
|
||||
<input type="hidden" name="returnTo" value="<%= returnTo || '/' %>">
|
||||
<div class="field">
|
||||
<label>Bearer токен</label>
|
||||
<textarea name="token" placeholder="eyJ..." rows="3" autocomplete="off"></textarea>
|
||||
<label>Client ID (через запятую для нескольких компаний)</label>
|
||||
<input type="text" name="clientId" placeholder="WZ88888,WZ77777" autocomplete="off">
|
||||
</div>
|
||||
<button class="btn" type="submit">Войти по токену</button>
|
||||
<button class="btn" type="submit">Войти</button>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user