Cody Joyce 2 months ago
parent
commit
80da951376
1 changed files with 1 additions and 1 deletions
  1. 1 1
      sec/middleware.go

+ 1 - 1
sec/middleware.go

@@ -77,5 +77,5 @@ func Middleware(req *srv.Req, res *srv.Res) error {
 	}
 
 	res.Send("No Access")
-	return nil
+	return errors.New("no access, request cancelled")
 }