From 68e6ce1bce1edc3c6048c1ed873865a27c39ea52 Mon Sep 17 00:00:00 2001 From: Fringg Date: Sat, 7 Mar 2026 15:59:45 +0300 Subject: [PATCH] fix: send Bearer token on email register (link to Telegram account) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit /cabinet/auth/email/register requires authentication (links email to existing Telegram account) but was in the AUTH_ENDPOINTS skip-list, causing the request interceptor to omit the Bearer token → 401. Change the skip-list entry to the specific /standalone path which genuinely doesn't need a Bearer token. --- src/api/client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/client.ts b/src/api/client.ts index d200982..4e38a3d 100644 --- a/src/api/client.ts +++ b/src/api/client.ts @@ -69,7 +69,7 @@ const AUTH_ENDPOINTS = [ '/cabinet/auth/telegram', '/cabinet/auth/telegram/widget', '/cabinet/auth/email/login', - '/cabinet/auth/email/register', + '/cabinet/auth/email/register/standalone', '/cabinet/auth/email/verify', '/cabinet/auth/refresh', '/cabinet/auth/password/forgot',