Browse Source

fix: add missing rate limiter

pull/6644/head
Pranav C 1 year ago
parent
commit
969e3a1591
  1. 2
      packages/nocodb/src/controllers/auth/auth.controller.ts

2
packages/nocodb/src/controllers/auth/auth.controller.ts

@ -116,7 +116,7 @@ export class AuthController {
}
@Get(['/auth/user/me', '/api/v1/db/auth/user/me', '/api/v1/auth/user/me'])
@UseGuards(GlobalGuard)
@UseGuards(MetaApiLimiterGuard, GlobalGuard)
async me(@Request() req) {
const user = {
...req.user,

Loading…
Cancel
Save