feat: [frontend / backend / sdk] a bunch of changes
backend: - Validate registrationWord on backend - Add maxRegPerIP rate limit how much accounts can be created per-ip frontend: - Add support for bulk approval rejection / acception - Address unsafe cookies-js defaults - Address addition of maxRegPerIP sdk: - Type definitions
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
/** @type {import('typeorm').MigrationInterface} */
|
||||
export class MaxRegPerIP1763651560421 {
|
||||
name = 'MaxRegPerIP1763651560421'
|
||||
|
||||
async up(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" ADD "maxRegPerIp" integer NOT NULL DEFAULT 2`);
|
||||
}
|
||||
|
||||
async down(queryRunner) {
|
||||
await queryRunner.query(`ALTER TABLE "meta" DROP COLUMN "maxRegPerIp"`);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user