diff --git a/examples/basic-auth-hook.js b/examples/basic-auth-hook.js index ea0c88a765..70ec49a3fe 100644 --- a/examples/basic-auth-hook.js +++ b/examples/basic-auth-hook.js @@ -16,10 +16,7 @@ function basicAuthentication(app) { return res .status('401') .set({ 'WWW-Authenticate': 'Basic realm="example"' }) - .send({ - message: 'You must be authenticated to use Unleash', - path: '/custom/login', - }); + .send('access denied'); } });