diff --git a/server/routes.go b/server/routes.go index 023755536..e963fbb9a 100644 --- a/server/routes.go +++ b/server/routes.go @@ -812,7 +812,6 @@ func (s *Server) IsLocal(c *gin.Context) bool { fmt.Println("entered islocal") fmt.Println(c.GetHeader("Authorization"), " is authorization") if authz := c.GetHeader("Authorization"); authz != "" { - parts := strings.Split(authz, ":") if len(parts) != 3 { fmt.Println("failed at lenParts")