MVP, working sentry scraper

This commit is contained in:
Mike Conrad
2025-05-18 20:44:42 -04:00
parent a34b0899ce
commit 8ea49772df
29 changed files with 724 additions and 481 deletions

View File

@ -22,4 +22,4 @@ export default class AuthMiddleware {
await ctx.auth.authenticateUsing(options.guards, { loginRoute: this.redirectTo })
return next()
}
}
}

View File

@ -28,4 +28,4 @@ export default class GuestMiddleware {
return next()
}
}
}

View File

@ -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()
}
}
}