mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Remove turn_allow_guest settings and use allow_guest_access instead
This commit is contained in:
parent
daf9f519ec
commit
718f6e6ac7
4 changed files with 1 additions and 15 deletions
|
@ -1203,7 +1203,7 @@ turn_user_lifetime: 1h
|
|||
# connect to arbitrary endpoints without having first signed up for a
|
||||
# valid account (e.g. by passing a CAPTCHA).
|
||||
#
|
||||
turn_allow_guests: __TURN_ALLOW_GUESTS__
|
||||
turn_allow_guests: __ALLOW_GUEST_ACCESS__
|
||||
|
||||
|
||||
## Registration ##
|
||||
|
|
|
@ -222,10 +222,3 @@ services = ["matrix-__APP__"]
|
|||
ask = "Shared Secret for Registration"
|
||||
type = "string"
|
||||
help = "Allows registration of standard or admin accounts, even if Registration disabled."
|
||||
|
||||
[advanced.registration.turn_allow_guests]
|
||||
ask = "Should guests be allowed to use the TURN server"
|
||||
type = "boolean"
|
||||
yes = "true"
|
||||
no = "false"
|
||||
help = "This defaults to True, otherwise VoIP will be unreliable for guests. However, it does introduce a slight security risk as it allows users to connect to arbitrary endpoints without having first signed up for a valid account (e.g. by passing a CAPTCHA)."
|
||||
|
|
|
@ -43,7 +43,6 @@ 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
|
||||
|
@ -90,7 +89,6 @@ ynh_app_setting_set --app=$app --key=notif_for_new_users --value=$notif_for_new_
|
|||
ynh_app_setting_set --app=$app --key=enable_group_creation --value=$enable_group_creation
|
||||
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=password_enabled --value=$password_enabled
|
||||
ynh_app_setting_set --app=$app --key=enable_3pid_lookup --value=$enable_3pid_lookup
|
||||
|
||||
|
|
|
@ -173,11 +173,6 @@ then
|
|||
enable_3pid_lookup=false
|
||||
ynh_app_setting_set --app=$app --key=enable_3pid_lookup --value=$enable_3pid_lookup
|
||||
fi
|
||||
if [ -z "${turn_allow_guests:-}" ]
|
||||
then
|
||||
turn_allow_guests=false
|
||||
ynh_app_setting_set --app=$app --key=turn_allow_guests --value=$turn_allow_guests
|
||||
fi
|
||||
|
||||
|
||||
if [ -z "${enable_registration:-}" ]
|
||||
|
|
Loading…
Reference in a new issue