• Your Name's avatar
    Fix user token authentication for user-specific endpoints · 5f7660b3
    Your Name authored
    Added proper authentication check:
    - User tokens now correctly give access to their own /api/u/<username> endpoints
    - Better error messages distinguish between missing auth and wrong user
    - Global tokens still blocked from user endpoints
    - User tokens still blocked from global endpoints
    5f7660b3
main.py 558 KB