Skip to content
Snippets Groups Projects
Unverified Commit 0b636d1b authored by anatawa12's avatar anatawa12 Committed by GitHub
Browse files

fix: nodeinfoにenableMcaptchaとenableTurnstileが無い (#13387)

parent b0030d14
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,15 @@
-->
## 202x.x.x (unreleased)
### General
### Client
### Server
- Fix: nodeinfoにenableMcaptchaとenableTurnstileが無いのを修正
## 2024.2.0
### Note
......
......@@ -253,6 +253,8 @@ export class MiMeta {
})
public turnstileSecretKey: string | null;
// chaptcha系を追加した際にはnodeinfoのレスポンスに追加するのを忘れないようにすること
@Column('enum', {
enum: ['none', 'all', 'local', 'remote'],
default: 'none',
......
......@@ -117,6 +117,8 @@ export class NodeinfoServerService {
emailRequiredForSignup: meta.emailRequiredForSignup,
enableHcaptcha: meta.enableHcaptcha,
enableRecaptcha: meta.enableRecaptcha,
enableMcaptcha: meta.enableMcaptcha,
enableTurnstile: meta.enableTurnstile,
maxNoteTextLength: MAX_NOTE_TEXT_LENGTH,
enableEmail: meta.enableEmail,
enableServiceWorker: meta.enableServiceWorker,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment