1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00

#1101 Anyone can see organization pages even without logging in when sign in required

This commit is contained in:
Unknwon 2015-03-23 17:58:52 -04:00
parent 484175f702
commit 27c3c5415f

View file

@ -372,7 +372,7 @@ func runWeb(ctx *cli.Context) {
}, reqSignIn)
m.Group("/org", func() {
m.Get("/:org", org.Home)
}, middleware.OrgAssignment(true))
}, ignSignIn, middleware.OrgAssignment(true))
// Repository.
m.Group("/repo", func() {