]> source.dussan.org Git - gitea.git/commit
Use correct user when determining max repo limits for error messages (#18153)
authorGusted <williamzijl7@hotmail.com>
Sun, 2 Jan 2022 02:38:07 +0000 (02:38 +0000)
committerGitHub <noreply@github.com>
Sun, 2 Jan 2022 02:38:07 +0000 (02:38 +0000)
commit88da7a7174f9c1568cc2d8d084d6b05a8d268690
treeaa6d343a5f02531f1f09f728ea21ea894f9076dc
parent5d4ee44ed3489df04854478b1f5a3d9870beb58e
Use correct user when determining max repo limits for error messages (#18153)

- Use the correct user(`owner` instead of `ctx.User`) to get the maxCreationLimit.
routers/web/repo/migrate.go
routers/web/repo/repo.go
routers/web/repo/setting.go