Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(383)

Unified Diff: milo/appengine/settings/themes.go

Issue 2271483002: Milo: Add a login url (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: Retrain Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « milo/appengine/frontend/templates/buildbot/includes/buildbot.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: milo/appengine/settings/themes.go
diff --git a/milo/appengine/settings/themes.go b/milo/appengine/settings/themes.go
index 0de66514c57c890a681a9eb99b9b886e1cd794fb..08626fb37ead48b2b9c5771150525ae7edfe3289 100644
--- a/milo/appengine/settings/themes.go
+++ b/milo/appengine/settings/themes.go
@@ -155,7 +155,7 @@ func Base() router.MiddlewareChain {
server.CookieAuth,
&server.InboundAppIDAuthMethod{},
}
- m := gaemiddleware.BaseProd().Extend(auth.Use(methods))
+ m := gaemiddleware.BaseProd().Extend(auth.Use(methods), auth.Authenticate)
for _, nb := range GetTemplateBundles() {
m = m.Extend(withNamedBundle(nb))
}
« no previous file with comments | « milo/appengine/frontend/templates/buildbot/includes/buildbot.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698