Skip to content

Commit 508c434

Browse files
committed
Make blinding enabled by default
Users can explicitly disable it, if desired, by setting the (hidden) `[users] require_blind_keys = false` setting, but as of the upcoming release that is now considered deprecated.
1 parent 3d64cef commit 508c434

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from sogs import config
44

55
config.DB_URL = 'defer-init'
6+
config.REQUIRE_BLIND_KEYS = False
67

78
from sogs import web # noqa: E402
89
from sogs.model.room import Room # noqa: E402

sogs/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
ALPHABET_FILTERS = set()
3636
ALPHABET_SILENT = True
3737
FILTER_MODS = False
38-
REQUIRE_BLIND_KEYS = False
38+
REQUIRE_BLIND_KEYS = True
3939
TEMPLATE_PATH = 'templates'
4040
STATIC_PATH = 'static'
4141
UPLOAD_PATH = 'uploads'

0 commit comments

Comments
 (0)