Merge "pkg/serverinit: auth wrap importer handler"

This commit is contained in:
mpl 2015-07-20 14:04:16 +00:00 committed by Gerrit Code Review
commit f0f5bdff59
1 changed files with 1 additions and 1 deletions

View File

@ -381,7 +381,7 @@ func handlerTypeWantsAuth(handlerType string) bool {
// TODO(bradfitz): ask the handler instead? This is a bit of a
// weird spot for this policy maybe?
switch handlerType {
case "ui", "search", "jsonsign", "sync", "status", "help":
case "ui", "search", "jsonsign", "sync", "status", "help", "importer":
return true
}
return false