| Index: appengine/gaemiddleware/routes.go
|
| diff --git a/appengine/gaemiddleware/routes.go b/appengine/gaemiddleware/routes.go
|
| index d4237087795b608cc125a91c8566fc3f7dbb9802..cefc78a7e3008eed9157733e083f97a638d7128b 100644
|
| --- a/appengine/gaemiddleware/routes.go
|
| +++ b/appengine/gaemiddleware/routes.go
|
| @@ -5,6 +5,8 @@
|
| package gaemiddleware
|
|
|
| import (
|
| + "github.com/luci/luci-go/common/runtime/profiling"
|
| + "github.com/luci/luci-go/server/auth"
|
| "github.com/luci/luci-go/server/router"
|
| "github.com/luci/luci-go/server/settings/admin"
|
|
|
| @@ -28,4 +30,8 @@ func InstallHandlers(r *router.Router, base router.MiddlewareChain) {
|
| gaeauth.InstallHandlers(r, base)
|
| tsmon.InstallHandlers(r, base)
|
| admin.InstallHandlers(r, base, &gaeauth.UsersAPIAuthMethod{})
|
| +
|
| + profiling.InstallHandlers(r, base.Extend(
|
| + auth.Autologin,
|
| + RequireSuperuser))
|
| }
|
|
|