aboutsummaryrefslogtreecommitdiff
path: root/cmd/web.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-07-15 19:17:57 +0800
committerUnknwon <u@gogs.io>2015-07-15 19:17:57 +0800
commitff051e2106bb44203736934547a7a2c501b1a784 (patch)
treed5701892a22535ed546355a3b378aee40722660d /cmd/web.go
parent71b9a87fe15ea8da24301f25aa706b148fd3b940 (diff)
#1128: API calls are not hidden behind sign in
Diffstat (limited to 'cmd/web.go')
-rw-r--r--cmd/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go
index ca4a6291..db1bf98a 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -242,7 +242,7 @@ func runWeb(ctx *cli.Context) {
ctx.HandleAPI(404, "Page not found")
})
})
- })
+ }, ignSignIn)
// User.
m.Group("/user", func() {