mirror of
https://github.com/go-gitea/gitea
synced 2025-01-10 17:54:27 +00:00
0b4c166e8a
- 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>