feat(middleware): add named guest middleware
This commit is contained in:
parent
1ffe22be10
commit
bbcefa9097
|
@ -37,7 +37,8 @@ const globalMiddleware = [
|
||||||
|
|
|
|
||||||
*/
|
*/
|
||||||
const namedMiddleware = {
|
const namedMiddleware = {
|
||||||
auth: 'Adonis/Middleware/Auth'
|
auth: 'Adonis/Middleware/Auth',
|
||||||
|
guest: 'Adonis/Middleware/AllowGuestOnly'
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user