Initial commit
This commit is contained in:
7
app/middleware/silent_auth_middleware.js
Normal file
7
app/middleware/silent_auth_middleware.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export default class SilentAuthMiddleware {
|
||||
async handle(ctx, next) {
|
||||
await ctx.auth.check();
|
||||
return next();
|
||||
}
|
||||
}
|
||||
//# sourceMappingURL=silent_auth_middleware.js.map
|
||||
Reference in New Issue
Block a user