fix: 微信登录接口跳过 JWT 鉴权,避免旧 Token 导致 403
ClubWechatLoginView 设置 authentication_classes=[],登录请求不再校验 Authorization。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -49,6 +49,7 @@ class ClubWechatLoginView(APIView):
|
||||
POST /jituan/auth/wechat-login
|
||||
body: { code, club_id?, app_id? }
|
||||
"""
|
||||
authentication_classes = [] # 登录不走 JWT,避免旧 Token 触发 403
|
||||
throttle_classes = [AnonRateThrottle]
|
||||
permission_classes = [AllowAny]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user