From 688d49993bf3e78532eba44b20698c2af8bb002d Mon Sep 17 00:00:00 2001 From: Bitrix user Date: Fri, 6 Mar 2026 21:27:18 +0300 Subject: [PATCH] fix(security): removed client_secret from frontend registration --- local/components/conmed/sso.register/.class.php.0.bak | 0 local/components/conmed/sso.register/class.php | 4 ++-- .../sso.register/templates/.default/.template.php.0.bak | 0 .../conmed/sso.register/templates/.default/template.php | 2 +- local/modules/conmed.authserver/.reinstall_agent.php | 0 local/modules/conmed.authserver/install/index.php | 0 local/modules/conmed.authserver/lib/.groupstrait.php.bak | 0 .../modules/conmed.authserver/lib/.internaldatatrait.php.bak | 0 .../modules/conmed.authserver/lib/.registrationtrait.php.bak | 0 local/modules/conmed.authserver/lib/api.php | 0 local/modules/conmed.authserver/lib/authtokentrait.php | 0 local/modules/conmed.authserver/lib/credentialstrait.php | 0 local/modules/conmed.authserver/lib/dictionariestrait.php | 0 local/modules/conmed.authserver/lib/groupstrait.php | 0 local/modules/conmed.authserver/lib/internaldatatrait.php | 2 +- local/modules/conmed.authserver/lib/profiletrait.php | 0 local/modules/conmed.authserver/lib/profiletrait.php.bak | 0 local/modules/conmed.authserver/lib/registrationtrait.php | 0 local/modules/conmed.authserver/lib/securitytrait.php | 0 local/modules/conmed.authserver/lib/webhook.php | 0 local/modules/conmed.authserver/lib/webhook.php.0.bak | 0 local/modules/conmed.authserver/man.txt | 0 local/modules/conmed.authserver/options.php | 0 local/modules/conmed.authserver/options.php.0.bak | 0 24 files changed, 4 insertions(+), 4 deletions(-) mode change 100644 => 100755 local/components/conmed/sso.register/.class.php.0.bak mode change 100644 => 100755 local/components/conmed/sso.register/class.php mode change 100644 => 100755 local/components/conmed/sso.register/templates/.default/.template.php.0.bak mode change 100644 => 100755 local/components/conmed/sso.register/templates/.default/template.php mode change 100644 => 100755 local/modules/conmed.authserver/.reinstall_agent.php mode change 100644 => 100755 local/modules/conmed.authserver/install/index.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/.groupstrait.php.bak mode change 100644 => 100755 local/modules/conmed.authserver/lib/.internaldatatrait.php.bak mode change 100644 => 100755 local/modules/conmed.authserver/lib/.registrationtrait.php.bak mode change 100644 => 100755 local/modules/conmed.authserver/lib/api.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/authtokentrait.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/credentialstrait.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/dictionariestrait.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/groupstrait.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/internaldatatrait.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/profiletrait.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/profiletrait.php.bak mode change 100644 => 100755 local/modules/conmed.authserver/lib/registrationtrait.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/securitytrait.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/webhook.php mode change 100644 => 100755 local/modules/conmed.authserver/lib/webhook.php.0.bak mode change 100644 => 100755 local/modules/conmed.authserver/man.txt mode change 100644 => 100755 local/modules/conmed.authserver/options.php mode change 100644 => 100755 local/modules/conmed.authserver/options.php.0.bak diff --git a/local/components/conmed/sso.register/.class.php.0.bak b/local/components/conmed/sso.register/.class.php.0.bak old mode 100644 new mode 100755 diff --git a/local/components/conmed/sso.register/class.php b/local/components/conmed/sso.register/class.php old mode 100644 new mode 100755 index 7b7a978..3c3f19f --- a/local/components/conmed/sso.register/class.php +++ b/local/components/conmed/sso.register/class.php @@ -16,13 +16,13 @@ class ConmedSsoRegister extends CBitrixComponent { $request = Context::getCurrent()->getRequest(); - // 1. Обработка AJAX регистрации + // 1. Обработка AJAX регистрации if ($request->isPost() && $request->get('ajax_reg') == 'y') { $this->handleRegister($request); return; } - // 2. Подготовка данных для формы через InternalDataTrait + // 2. Подготовка данных для формы через InternalDataTrait $geo = Api::getGeoForComponent(); $this->arResult['COUNTRIES'] = $geo['countries']; $this->arResult['CITIES'] = $geo['cities']; diff --git a/local/components/conmed/sso.register/templates/.default/.template.php.0.bak b/local/components/conmed/sso.register/templates/.default/.template.php.0.bak old mode 100644 new mode 100755 diff --git a/local/components/conmed/sso.register/templates/.default/template.php b/local/components/conmed/sso.register/templates/.default/template.php old mode 100644 new mode 100755 index 4b12bd4..bbcd0a9 --- a/local/components/conmed/sso.register/templates/.default/template.php +++ b/local/components/conmed/sso.register/templates/.default/template.php @@ -9,7 +9,7 @@ cities: }; var cmSessid = ''; - var cmDefaultClientId = ''; // Публичный ID клиента для редиректов + var cmDefaultClientId = ''; // Публичный ID клиента для редиректов
diff --git a/local/modules/conmed.authserver/.reinstall_agent.php b/local/modules/conmed.authserver/.reinstall_agent.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/install/index.php b/local/modules/conmed.authserver/install/index.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/.groupstrait.php.bak b/local/modules/conmed.authserver/lib/.groupstrait.php.bak old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/.internaldatatrait.php.bak b/local/modules/conmed.authserver/lib/.internaldatatrait.php.bak old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/.registrationtrait.php.bak b/local/modules/conmed.authserver/lib/.registrationtrait.php.bak old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/api.php b/local/modules/conmed.authserver/lib/api.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/authtokentrait.php b/local/modules/conmed.authserver/lib/authtokentrait.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/credentialstrait.php b/local/modules/conmed.authserver/lib/credentialstrait.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/dictionariestrait.php b/local/modules/conmed.authserver/lib/dictionariestrait.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/groupstrait.php b/local/modules/conmed.authserver/lib/groupstrait.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/internaldatatrait.php b/local/modules/conmed.authserver/lib/internaldatatrait.php old mode 100644 new mode 100755 index 76066e1..b88808f --- a/local/modules/conmed.authserver/lib/internaldatatrait.php +++ b/local/modules/conmed.authserver/lib/internaldatatrait.php @@ -6,7 +6,7 @@ use Bitrix\Main\Loader; trait InternalDataTrait { /** - * Возвращает Client ID по умолчанию для локальной регистрации и системных нужд + * Возвращает Client ID по умолчанию для локальной регистрации и системных нужд * @return string */ public static function getDefaultClientId() { diff --git a/local/modules/conmed.authserver/lib/profiletrait.php b/local/modules/conmed.authserver/lib/profiletrait.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/profiletrait.php.bak b/local/modules/conmed.authserver/lib/profiletrait.php.bak old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/registrationtrait.php b/local/modules/conmed.authserver/lib/registrationtrait.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/securitytrait.php b/local/modules/conmed.authserver/lib/securitytrait.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/webhook.php b/local/modules/conmed.authserver/lib/webhook.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/lib/webhook.php.0.bak b/local/modules/conmed.authserver/lib/webhook.php.0.bak old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/man.txt b/local/modules/conmed.authserver/man.txt old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/options.php b/local/modules/conmed.authserver/options.php old mode 100644 new mode 100755 diff --git a/local/modules/conmed.authserver/options.php.0.bak b/local/modules/conmed.authserver/options.php.0.bak old mode 100644 new mode 100755