mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-05 16:49:08 +00:00
UPDATE: remove user agent
This commit is contained in:
@@ -41,9 +41,6 @@ export class OpenDataController {
|
||||
@Req()
|
||||
request: Request,
|
||||
) {
|
||||
if (!request.headers['user-agent'].includes('WordPress/6.7.1; https://devsbm.dadosfera.io')) {
|
||||
throw new ForbiddenException();
|
||||
}
|
||||
this.logger.info('createUser for open data');
|
||||
|
||||
this.logger.info('user-agent', request.headers['user-agent']);
|
||||
|
||||
Reference in New Issue
Block a user