diff --git a/scripts/install b/scripts/install index f03ce32..a0dd8df 100644 --- a/scripts/install +++ b/scripts/install @@ -42,20 +42,16 @@ enable_notifs="true" notif_for_new_users="true" enable_group_creation="true" push_include_content="true" +enable_3pid_lookup=false +turn_allow_guests=false if [ "$is_free_registration" -eq 0 ] then enable_registration="false" - turn_allow_guests="false" - sso_enabled="true" password_enabled="false" - enable_3pid_lookup="false" else enable_registration="true" - turn_allow_guests="true" - sso_enabled="false" password_enabled="true" - enable_3pid_lookup="true" fi element_ynh_url="https://matrix.to/" @@ -95,7 +91,6 @@ ynh_app_setting_set --app=$app --key=enable_group_creation --value=$enable_group ynh_app_setting_set --app=$app --key=push_include_content --value=$push_include_content ynh_app_setting_set --app=$app --key=enable_registration --value=$enable_registration ynh_app_setting_set --app=$app --key=turn_allow_guests --value=$turn_allow_guests -ynh_app_setting_set --app=$app --key=sso_enabled --value=$sso_enabled ynh_app_setting_set --app=$app --key=password_enabled --value=$password_enabled ynh_app_setting_set --app=$app --key=enable_3pid_lookup --value=$enable_3pid_lookup