Skip to content

Commit

Permalink
gogs#1101 Anyone can see organization pages even without logging in w…
Browse files Browse the repository at this point in the history
…hen sign in required
  • Loading branch information
unknwon committed Mar 23, 2015
1 parent 484175f commit 27c3c54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/web.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 27c3c54

Please sign in to comment.