summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/labstack/echo/middleware/key_auth.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/labstack/echo/middleware/key_auth.go')
-rw-r--r--vendor/github.com/labstack/echo/middleware/key_auth.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/labstack/echo/middleware/key_auth.go b/vendor/github.com/labstack/echo/middleware/key_auth.go
index 5ef87e3d..24625260 100644
--- a/vendor/github.com/labstack/echo/middleware/key_auth.go
+++ b/vendor/github.com/labstack/echo/middleware/key_auth.go
@@ -72,7 +72,7 @@ func KeyAuthWithConfig(config KeyAuthConfig) echo.MiddlewareFunc {
config.KeyLookup = DefaultKeyAuthConfig.KeyLookup
}
if config.Validator == nil {
- panic("key-auth middleware requires a validator function")
+ panic("echo: key-auth middleware requires a validator function")
}
// Initialize