Add a configuration option to make email optional for password registration

This commit is contained in:
Quentin Gliech
2025-10-07 17:13:05 +02:00
parent 138f1b1a42
commit 28e573b400
18 changed files with 482 additions and 97 deletions

View File

@@ -35,6 +35,7 @@
"server_name": "example.com",
"password_login_enabled": true,
"password_registration_enabled": true,
"password_registration_email_required": true,
"registration_token_required": true,
"email_change_allowed": true,
"displayname_change_allowed": true,
@@ -3680,6 +3681,7 @@
"minimum_password_complexity",
"password_change_allowed",
"password_login_enabled",
"password_registration_email_required",
"password_registration_enabled",
"registration_token_required",
"server_name"
@@ -3697,6 +3699,10 @@
"description": "Whether password registration is enabled.",
"type": "boolean"
},
"password_registration_email_required": {
"description": "Whether a valid email address is required for password registrations.",
"type": "boolean"
},
"registration_token_required": {
"description": "Whether registration tokens are required for password registrations.",
"type": "boolean"