Настройки: «Кабинет клиента» (наш модуль) и «ЕСИА Финанс» (внешняя платформа) — отдельные разделы

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q4YVo4UMopqT5DzicqpPjL
This commit is contained in:
zuevav
2026-09-18 14:46:20 +03:00
parent 4f4f70c530
commit bdaef4dc39
6 changed files with 26 additions and 18 deletions
+1 -1
View File
@@ -217,7 +217,7 @@ func (s *Server) installConnect(w http.ResponseWriter, r *http.Request, d instal
d.Cfg = cfg
switch {
case cfg.BJKey == "":
d.Error = "Укажите ключ доступа модуля — он создаётся в настройках ядра, раздел «Личный кабинет»."
d.Error = "Укажите ключ доступа модуля — он создаётся в настройках ядра, раздел «Кабинет клиента»."
case !cfg.Agent && cfg.BJURL == "":
d.Error = "Укажите адрес ядра или выберите режим «ядро подключается к кабинету»."
case !cfg.Agent && !strings.HasPrefix(cfg.BJURL, "https://") && cfg.insecureCore():