From 78608392208cb73351354cda5678daee232159d8 Mon Sep 17 00:00:00 2001 From: "Acid Chicken (硫酸鶏)" Date: Tue, 28 Apr 2020 14:29:33 +0900 Subject: Add support for hCaptcha --- src/models/entities/meta.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'src/models') diff --git a/src/models/entities/meta.ts b/src/models/entities/meta.ts index bb463c52f4..622d28bead 100644 --- a/src/models/entities/meta.ts +++ b/src/models/entities/meta.ts @@ -124,6 +124,23 @@ export class Meta { @JoinColumn() public proxyAccount: User | null; + @Column('boolean', { + default: false, + }) + public enableHcaptcha: boolean; + + @Column('varchar', { + length: 64, + nullable: true + }) + public hcaptchaSiteKey: string | null; + + @Column('varchar', { + length: 64, + nullable: true + }) + public hcaptchaSecretKey: string | null; + @Column('boolean', { default: false, }) -- cgit v1.2.3-freya