MVP, working sentry scraper
This commit is contained in:
@ -8,12 +8,9 @@ import type { NextFn } from '@adonisjs/core/types/http'
|
||||
* The request continues as usual, even when the user is not logged-in.
|
||||
*/
|
||||
export default class SilentAuthMiddleware {
|
||||
async handle(
|
||||
ctx: HttpContext,
|
||||
next: NextFn,
|
||||
) {
|
||||
async handle(ctx: HttpContext, next: NextFn) {
|
||||
await ctx.auth.check()
|
||||
|
||||
return next()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user