Merge pull request #1477 from micro/fix

Hotfix
This commit is contained in:
ben-toogood
2020-04-03 13:37:50 +01:00
committed by GitHub

View File

@@ -29,9 +29,7 @@ func (h authHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
namespace, err := namespaceFromRequest(req)
if err != nil {
logger.Error(err)
// w.WriteHeader(http.StatusInternalServerError)
namespace = auth.DefaultNamespace
return
}
// Set the namespace in the header