commit
41b746e435
@ -29,9 +29,7 @@ func (h authHandler) ServeHTTP(w http.ResponseWriter, req *http.Request) {
|
|||||||
namespace, err := namespaceFromRequest(req)
|
namespace, err := namespaceFromRequest(req)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logger.Error(err)
|
logger.Error(err)
|
||||||
// w.WriteHeader(http.StatusInternalServerError)
|
|
||||||
namespace = auth.DefaultNamespace
|
namespace = auth.DefaultNamespace
|
||||||
return
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set the namespace in the header
|
// Set the namespace in the header
|
||||||
|
Loading…
Reference in New Issue
Block a user