mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
40c2212dd3
/f/:id had no LoginRequired middleware, so AuthUserObjKey was never populated and GetCurrentUser/GetUserIDFromContext could not authenticate even logged-in users, returning 401 未登录 on private files. Add loginMW.