Add a configuration option to make email optional for password registration
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user