Improve security
This commit is contained in:
@@ -90,6 +90,7 @@ XMPP_JID = getenv("XMPP_JID")
|
||||
XMPP_USER_DOMAIN = getenv("XMPP_USER_DOMAIN", "")
|
||||
XMPP_PORT = int(getenv("XMPP_PORT", "8888") or 8888)
|
||||
XMPP_SECRET = getenv("XMPP_SECRET")
|
||||
XMPP_OMEMO_DATA_DIR = getenv("XMPP_OMEMO_DATA_DIR", "")
|
||||
|
||||
EVENT_LEDGER_DUAL_WRITE = getenv("EVENT_LEDGER_DUAL_WRITE", "false").lower() in trues
|
||||
CAPABILITY_ENFORCEMENT_ENABLED = (
|
||||
|
||||
@@ -59,6 +59,11 @@ urlpatterns = [
|
||||
notifications.NotificationsUpdate.as_view(),
|
||||
name="notifications_update",
|
||||
),
|
||||
path(
|
||||
"settings/security/",
|
||||
system.SecurityPage.as_view(),
|
||||
name="security_settings",
|
||||
),
|
||||
path(
|
||||
"settings/system/",
|
||||
system.SystemSettings.as_view(),
|
||||
|
||||
Reference in New Issue
Block a user