From 60e52e80d5b67789322df2a703aef19779d816b2 Mon Sep 17 00:00:00 2001 From: lendry Date: Wed, 22 Apr 2026 15:48:17 +0300 Subject: [PATCH] change public key --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index bac874a..0d1f53c 100644 --- a/index.html +++ b/index.html @@ -41,7 +41,7 @@ method: 'POST', headers: { 'Content-Type': 'application/json' }, // Добавил device_id и public_key (как требует ваш auth.proto) - body: JSON.stringify({ username, password, deviceId: 'stub-device', publicKey: 'stub-key' }), + body: JSON.stringify({ username, password, deviceId: 'stub-device', publicKey: 'N6fByS7oTIOX6m7on8h6T093SOn3df67o6v6n6n6n6o=' }), // КРИТИЧЕСКИ ВАЖНО: заставляет браузер сохранить куку refreshToken credentials: 'include' });