mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
fix(auth): send Bearer token for account merge endpoints
Remove '/cabinet/auth/merge/' from AUTH_ENDPOINTS so the request interceptor attaches the Authorization header. The backend merge preview/execute endpoints require an authenticated initiator (get_current_cabinet_user); omitting the token produced 401 'Authentication required' and merges never completed after Telegram confirmation or email-code verification.
This commit is contained in:
@@ -70,7 +70,6 @@ const AUTH_ENDPOINTS = [
|
||||
'/cabinet/auth/password/forgot',
|
||||
'/cabinet/auth/password/reset',
|
||||
'/cabinet/auth/oauth/',
|
||||
'/cabinet/auth/merge/',
|
||||
'/cabinet/auth/account/link/server-complete',
|
||||
'/cabinet/auth/deeplink/',
|
||||
'/cabinet/auth/login/auto',
|
||||
|
||||
Reference in New Issue
Block a user