Skip to content

Commit

Permalink
fix(backend): "誰でも新規登録できるようにする"の初期値をOFFにする (misskey-dev#13130)
Browse files Browse the repository at this point in the history
* fix(backend): "誰でも新規登録できるようにする"の初期値をOFFにする

* fix CHANGELOG.md

* fix
  • Loading branch information
samunohito authored and AyumuNekozuki committed Feb 16, 2024
1 parent b9b0e68 commit af2e745
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
- Fix: ipv4とipv6の両方が利用可能な環境でallowedPrivateNetworksが設定されていた場合プライベートipの検証ができていなかった問題を修正
- Fix: properly handle cc followers
- Fix: ジョブに関する設定の名前を修正 relashionshipJobPerSec -> relationshipJobPerSec
- Fix: コントロールパネル->モデレーション->「誰でも新規登録できるようにする」の初期値をONからOFFに変更 #13122

### Service Worker
- Enhance: オフライン表示のデザインを改善・多言語対応
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: syuilo and other misskey contributors
* SPDX-License-Identifier: AGPL-3.0-only
*/

export class FixMetaDisableRegistration1706791962000 {
name = 'FixMetaDisableRegistration1706791962000'

async up(queryRunner) {
await queryRunner.query(`alter table meta alter column "disableRegistration" set default true;`);
}

async down(queryRunner) {
await queryRunner.query(`alter table meta alter column "disableRegistration" set default false;`);
}
}

0 comments on commit af2e745

Please sign in to comment.