This commit is contained in:
Ben Toogood 2020-04-03 13:37:02 +01:00
parent 46f0bda31e
commit 906263291b

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