diff --git a/start/kernel.js b/start/kernel.js index 1a1bd36..cba76b4 100644 --- a/start/kernel.js +++ b/start/kernel.js @@ -37,7 +37,8 @@ const globalMiddleware = [ | */ const namedMiddleware = { - auth: 'Adonis/Middleware/Auth' + auth: 'Adonis/Middleware/Auth', + guest: 'Adonis/Middleware/AllowGuestOnly' } /*