mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 01:43:09 +02:00
fix: nodeinfoにenableMcaptchaとenableTurnstileが無い (#13387)
This commit is contained in:
parent
b0030d148d
commit
0b636d1bf9
3 changed files with 13 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue