mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-22 21:35:35 +03:00
#1101 Anyone can see organization pages even without logging in when sign in required
This commit is contained in:
parent
484175f702
commit
27c3c5415f
1 changed files with 1 additions and 1 deletions
|
@ -372,7 +372,7 @@ func runWeb(ctx *cli.Context) {
|
||||||
}, reqSignIn)
|
}, reqSignIn)
|
||||||
m.Group("/org", func() {
|
m.Group("/org", func() {
|
||||||
m.Get("/:org", org.Home)
|
m.Get("/:org", org.Home)
|
||||||
}, middleware.OrgAssignment(true))
|
}, ignSignIn, middleware.OrgAssignment(true))
|
||||||
|
|
||||||
// Repository.
|
// Repository.
|
||||||
m.Group("/repo", func() {
|
m.Group("/repo", func() {
|
||||||
|
|
Loading…
Reference in a new issue