Add shield

This commit is contained in:
2021-08-20 10:29:44 +02:00
parent 218d2e4d4f
commit 2424dd8589
6 changed files with 277 additions and 2 deletions

View File

@@ -22,6 +22,7 @@ import Server from "@ioc:Adonis/Core/Server";
Server.middleware.register([
() => import('@ioc:Adonis/Core/BodyParser'),
() => import('@ioc:Adonis/Addons/Shield'),
() => import('App/Middleware/SilentAuth'),
])