mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 17:43:47 +00:00
fix: send Bearer token on email register (link to Telegram account)
/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.
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user