mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 11:23:32 +01:00
- Currently the function takes in the `UserID` option, but isn't being used within the SQL query. This patch fixes that by checking that only teams are being returned that the user belongs to. Fix #20829 Co-authored-by: delvh <dev.lh@web.de>