diff --git a/roles/matrix/defaults/main.yml b/roles/matrix/defaults/main.yml index 9d1af17..16ce5cb 100644 --- a/roles/matrix/defaults/main.yml +++ b/roles/matrix/defaults/main.yml @@ -73,6 +73,9 @@ matrix_elementweb_disable_custom_urls: true # Should Element-Web disable guests? (without sign-in) matrix_elementweb_disable_guests: true +# Should Element-Web disable 3PID login? (Login with Email etc) +matrix_elementweb_disable_3pid_login: false + # Integration Server URLs to use (see https://github.com/vector-im/element-web/blob/develop/docs/config.md) matrix_elementweb_integrations_ui_url: "https://scalar.vector.im/" matrix_elementweb_integrations_rest_url: "https://scalar.vector.im/api" diff --git a/roles/matrix/templates/elementweb-config.json b/roles/matrix/templates/elementweb-config.json index c7f136d..0819300 100644 --- a/roles/matrix/templates/elementweb-config.json +++ b/roles/matrix/templates/elementweb-config.json @@ -6,6 +6,7 @@ } }, "disable_custom_urls": {{ matrix_elementweb_disable_custom_urls | to_json }}, + "disable_3pid_login": {{ matrix_elementweb_disable_3pid_login | to_json }}, "disable_guests": {{ matrix_elementweb_disable_guests | to_json }}, "integrations_ui_url": {{ matrix_elementweb_integrations_ui_url | string | to_json }}, "integrations_rest_url": {{ matrix_elementweb_integrations_rest_url | string | to_json }},